mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 05:04:44 +02:00
Merge pull request #3442 from Atlante45/script_engine_fix
Fix timer bug with script engine
This commit is contained in:
commit
fe9ae5bc69
1 changed files with 1 additions and 0 deletions
|
@ -614,6 +614,7 @@ void ScriptEngine::timerFired() {
|
|||
|
||||
if (!callingTimer->isActive()) {
|
||||
// this timer is done, we can kill it
|
||||
_timerFunctionMap.remove(callingTimer);
|
||||
delete callingTimer;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue