Timer avoid deadlock in timerStopped()
No code actually uses this hook, but lets make sure nothing bad would happen.
This commit is contained in:
@@ -177,6 +177,7 @@ void Timer::schedulePeriodic(
|
||||
}
|
||||
|
||||
if(!alive) {
|
||||
xx.unlock();
|
||||
timerCallback->timerStopped();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user