From 3eb60946ae8b5ad7d8a95233ffe946432acdb837 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 18 Jul 2017 17:29:39 -0700 Subject: Sometimes providers don't clear the prov data details. (Backoff). --- src/core/aio.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/core/aio.c') 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) { -- cgit v1.2.3-70-g09d2