mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
rename variable for consistency
This commit is contained in:
parent
6589db628a
commit
36040597ba
1 changed files with 2 additions and 2 deletions
|
@ -1323,8 +1323,8 @@ void ScriptEngine::updateMemoryCost(const qint64& deltaSize) {
|
|||
|
||||
void ScriptEngine::timerFired() {
|
||||
{
|
||||
QSharedPointer<ScriptEngines> engine(_scriptEngines);
|
||||
if (!engine || engine->isStopped()) {
|
||||
QSharedPointer<ScriptEngines> scriptEngines(_scriptEngines);
|
||||
if (!scriptEngines || scriptEngines->isStopped()) {
|
||||
scriptWarningMessage("Script.timerFired() while shutting down is ignored... parent script:" + getFilename());
|
||||
return; // bail early
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue