Merge pull request #2324 from xytovl/fix-crash-on-resume
This commit is contained in:
commit
388912d4a7
|
@ -95,6 +95,7 @@ class SleeperThread {
|
||||||
}
|
}
|
||||||
|
|
||||||
~SleeperThread() {
|
~SleeperThread() {
|
||||||
|
connection_.disconnect();
|
||||||
stop();
|
stop();
|
||||||
if (thread_.joinable()) {
|
if (thread_.joinable()) {
|
||||||
thread_.join();
|
thread_.join();
|
||||||
|
|
Loading…
Reference in New Issue