diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-19 17:20:51 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-19 17:20:51 -0700 |
| commit | fa24bad0f7f82b4718cc2f13f60fcdd9b0cf86fe (patch) | |
| tree | 287fdb1f831bfdfdf34b1bc2c56e8489f3ba9ba9 /src/core/timer.h | |
| parent | c726f93041b8dcd085c88144f2c13a2ac6fe58ad (diff) | |
| download | nng-fa24bad0f7f82b4718cc2f13f60fcdd9b0cf86fe.tar.gz nng-fa24bad0f7f82b4718cc2f13f60fcdd9b0cf86fe.tar.bz2 nng-fa24bad0f7f82b4718cc2f13f60fcdd9b0cf86fe.zip | |
Crash on close again.
This one is caused by us deallocating the msg queue before we
stop all asynchronous I/O operations; consequently we can wind
up with a thread trying to access a msg queue after it has been
destroyed.
A lesson here is that nni_aio_fini() needs to be treated much like
nni_thr_fini() - you should do this *before* deallocating anything
that callback functions might be referencing.
Diffstat (limited to 'src/core/timer.h')
0 files changed, 0 insertions, 0 deletions
