aboutsummaryrefslogtreecommitdiff
path: root/src/core/msgqueue.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-03-06 11:21:32 -0800
committerGarrett D'Amore <garrett@damore.org>2017-03-06 11:21:32 -0800
commit68586f0090419def344debf970402750332af098 (patch)
treebff6f606ed2f5bdf448b904725a0baaf805fbc57 /src/core/msgqueue.c
parent44a6de38d240143ec2b4bb6f6457bae81271820a (diff)
downloadnng-68586f0090419def344debf970402750332af098.tar.gz
nng-68586f0090419def344debf970402750332af098.tar.bz2
nng-68586f0090419def344debf970402750332af098.zip
Pub/Sub now callback driven.
Diffstat (limited to 'src/core/msgqueue.c')
-rw-r--r--src/core/msgqueue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/msgqueue.c b/src/core/msgqueue.c
index 147c0e20..9607f562 100644
--- a/src/core/msgqueue.c
+++ b/src/core/msgqueue.c
@@ -172,6 +172,7 @@ nni_msgq_fini(nni_msgq *mq)
if (mq == NULL) {
return;
}
+ nni_timer_cancel(&mq->mq_timer);
nni_thr_fini(&mq->mq_notify_thr);
nni_cv_fini(&mq->mq_drained);
nni_cv_fini(&mq->mq_writeable);