From f62b3d0e9dba3847e8029bdbc2fb71ecacc7c667 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 16 Jul 2023 23:29:28 +0200 Subject: [PATCH] Ensure signal is disconnected in destructor --- include/util/sleeper_thread.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/util/sleeper_thread.hpp b/include/util/sleeper_thread.hpp index a724b1e8..861d5f1f 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();