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
commit 388912d4a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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