Merge pull request #2324 from xytovl/fix-crash-on-resume

This commit is contained in:
Alexis Rouillard
2023-07-17 08:26:53 +02:00
committed by GitHub

View File

@@ -95,6 +95,7 @@ class SleeperThread {
} }
~SleeperThread() { ~SleeperThread() {
connection_.disconnect();
stop(); stop();
if (thread_.joinable()) { if (thread_.joinable()) {
thread_.join(); thread_.join();