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
1 changed files with 1 additions and 0 deletions

View File

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