stop metrics hub thread before calling stop on listeners

master
Andre Puschmann 6 years ago
parent 1c015aab62
commit 481a1829dd

@ -44,6 +44,7 @@ public:
return true;
}
void stop() {
stop_thread();
// stop all listeners
for (uint32_t i=0;i<listeners.size();i++) {
listeners[i]->stop();

Loading…
Cancel
Save