mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Ensure signal is disconnected in destructor
This commit is contained in:
parent
1e2b9cb5ed
commit
f62b3d0e9d
@ -95,6 +95,7 @@ class SleeperThread {
|
||||
}
|
||||
|
||||
~SleeperThread() {
|
||||
connection_.disconnect();
|
||||
stop();
|
||||
if (thread_.joinable()) {
|
||||
thread_.join();
|
||||
|
Loading…
Reference in New Issue
Block a user