Fix SIGSEGV crash during shutdown of tc plugin. (#5495)
Markos Fountoulakis committed
Feb 25, 2019 at 11:16 UTC
28d5018f31135e7991d31bf5a39ae3fafd91323a
1 file changed
+2
daemon/main.c
+2
@@ -198,6 +198,8 @@ void cancel_main_threads() {
198
}
199
}
200
201
+ netdata_exit = 1;
202
+
203
while(found && max > 0) {
204
max -= step;
205
info("Waiting %d threads to finish...", found);