wait until periodic thread finishes during stop

master
Andre Puschmann 7 years ago
parent f92728ad6e
commit 4eb52f58fc

@ -38,6 +38,7 @@ public:
}
void stop() {
thread_cancel();
wait_thread_finish();
}
void add_listener(metrics_listener<metrics_t> *listener) {

Loading…
Cancel
Save