diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/aio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/aio.c b/src/core/aio.c index 6ce5641d..350bf52a 100644 --- a/src/core/aio.c +++ b/src/core/aio.c @@ -308,6 +308,7 @@ nni_aio_finish_impl( NNI_ASSERT(aio->a_pend == 0); // provider only calls us *once* nni_list_node_remove(&aio->a_expire_node); + aio->a_pend = 1; aio->a_result = result; aio->a_count = count; |
