diff options
| -rw-r--r-- | src/core/aio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/aio.c b/src/core/aio.c index 3027b0c1..fac62f12 100644 --- a/src/core/aio.c +++ b/src/core/aio.c @@ -369,10 +369,10 @@ static void nni_aio_finish_impl( nni_aio *aio, int rv, size_t count, nni_msg *msg, bool synch) { - NNI_ASSERT(!aio->a_pend); // provider only calls us *once* - nni_mtx_lock(&nni_aio_lk); + NNI_ASSERT(!aio->a_pend); // provider only calls us *once* + nni_list_node_remove(&aio->a_expire_node); aio->a_pend = true; |
