History

added scriptEnding callback

Brad Hefta-Gaub committed 12 years ago

Commit 18ded1d1 parent c404a362 files · +3 −0Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 2 files). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+1−0
@@ -225,6 +225,7 @@ void ScriptEngine::run() { · 224 unmodified lines
225 qDebug() << "Uncaught exception at line" << line << ":" << _engine.uncaughtException().toString();225 qDebug() << "Uncaught exception at line" << line << ":" << _engine.uncaughtException().toString();
226 }226 }
227 }227 }
228 emit scriptEnding();
228 cleanMenuItems();229 cleanMenuItems();
229 230
230 // If we were on a thread, then wait till it's done231 // If we were on a thread, then wait till it's done