From 2c98a72d5135a09bcb860eed06b3029d27b7c797 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 29 Nov 2024 03:33:50 -0500 Subject: reap: thread exits prematurely after reinitialization --- src/core/reap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core') diff --git a/src/core/reap.c b/src/core/reap.c index f996695d..3044a041 100644 --- a/src/core/reap.c +++ b/src/core/reap.c @@ -108,6 +108,7 @@ nni_reap_sys_init(void) { int rv; + reap_exit = false; // If this fails, we don't fail init, instead we will try to // start up at reap time. if ((rv = nni_thr_init(&reap_thr, reap_worker, NULL)) != 0) { -- cgit v1.2.3-70-g09d2