honggfuzz: ping threads periodically anyway
diff --git a/honggfuzz.c b/honggfuzz.c
index 196e9d1..4ecf345 100644
--- a/honggfuzz.c
+++ b/honggfuzz.c
@@ -315,16 +315,18 @@
LOG_I("Maximum run time reached, terminating");
break;
}
+ pingThreads(&hfuzz);
pause();
}
fuzz_setTerminating();
+ /* Ping threads one last time */
void* retval;
if (pthread_join(sigthread, &retval) != 0) {
PLOG_W("Couldn't stop the signal thread");
}
- /* Ping threads one last time */
+ pingThreads(&hfuzz);
fuzz_threadsStop(&hfuzz);
/* Clean-up global buffers */