diff --git a/include/util/sleeper_thread.hpp b/include/util/sleeper_thread.hpp index a724b1e..861d5f1 100644 --- a/include/util/sleeper_thread.hpp +++ b/include/util/sleeper_thread.hpp @@ -95,6 +95,7 @@ class SleeperThread { } ~SleeperThread() { + connection_.disconnect(); stop(); if (thread_.joinable()) { thread_.join();