Ensure signal is disconnected in destructor
parent
1e2b9cb5ed
commit
f62b3d0e9d
|
@ -95,6 +95,7 @@ class SleeperThread {
|
|||
}
|
||||
|
||||
~SleeperThread() {
|
||||
connection_.disconnect();
|
||||
stop();
|
||||
if (thread_.joinable()) {
|
||||
thread_.join();
|
||||
|
|
Loading…
Reference in New Issue