Timer avoid deadlock in timerStopped()

No code actually uses this hook, but lets make
sure nothing bad would happen.
This commit is contained in:
Michael Davidsaver
2018-04-04 21:51:10 -07:00
parent 1e1d94ed73
commit a7c9c620dd

View File

@@ -177,6 +177,7 @@ void Timer::schedulePeriodic(
}
if(!alive) {
xx.unlock();
timerCallback->timerStopped();
return;
}