aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/aio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/aio.c b/src/core/aio.c
index 25c34391..b86be253 100644
--- a/src/core/aio.c
+++ b/src/core/aio.c
@@ -1,5 +1,5 @@
//
-// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2021 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -353,7 +353,6 @@ nni_aio_begin(nni_aio *aio)
aio->a_expire_ok = false;
nni_mtx_unlock(&eq->eq_mtx);
- nni_task_dispatch(&aio->a_task);
return (NNG_ECANCELED);
}
nni_task_prep(&aio->a_task);