aboutsummaryrefslogtreecommitdiff
path: root/src/core/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/pipe.c')
-rw-r--r--src/core/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/pipe.c b/src/core/pipe.c
index d13e703f..1658aabc 100644
--- a/src/core/pipe.c
+++ b/src/core/pipe.c
@@ -61,9 +61,9 @@ nni_pipe_sys_fini(void)
nni_pipe_reap_run = 0;
nni_cv_wake(&nni_pipe_reap_cv);
nni_mtx_unlock(&nni_pipe_reap_lk);
- nni_thr_fini(&nni_pipe_reap_thr);
}
+ nni_thr_fini(&nni_pipe_reap_thr);
nni_cv_fini(&nni_pipe_reap_cv);
nni_mtx_fini(&nni_pipe_reap_lk);
if (nni_pipes != NULL) {