Skip to content

Commit

Permalink
reap: thread exits prematurely after reinitialization
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 7, 2024
1 parent 784bfd6 commit 2c98a72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/reap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2c98a72

Please sign in to comment.