diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-18 17:29:39 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-18 17:29:39 -0700 |
| commit | 3eb60946ae8b5ad7d8a95233ffe946432acdb837 (patch) | |
| tree | 6bf6c678411a0e63731a624929fcb979781a9758 /src/core | |
| parent | ab7772be3e3c208a48408b67924d3b58fca7f474 (diff) | |
| download | nng-3eb60946ae8b5ad7d8a95233ffe946432acdb837.tar.gz nng-3eb60946ae8b5ad7d8a95233ffe946432acdb837.tar.bz2 nng-3eb60946ae8b5ad7d8a95233ffe946432acdb837.zip | |
Sometimes providers don't clear the prov data details. (Backoff).
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/aio.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/aio.c b/src/core/aio.c index c6512eb4..f9927e9d 100644 --- a/src/core/aio.c +++ b/src/core/aio.c @@ -137,9 +137,6 @@ nni_aio_wait(nni_aio *aio) int nni_aio_start(nni_aio *aio, void (*cancel)(nni_aio *), void *data) { - NNI_ASSERT(aio->a_prov_data == NULL); - NNI_ASSERT(aio->a_prov_cancel == NULL); - nni_mtx_lock(&aio->a_lk); aio->a_flags &= ~(NNI_AIO_DONE | NNI_AIO_WAKE); if (aio->a_flags & NNI_AIO_FINI) { |
