Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 6 files). Show all
Unified · Split
| @@ -535,7 +535,6 @@ void ScriptEngines::onScriptEngineLoaded(const QString& rawScriptURL) { · 534 unmodified lines | ||
| 535 | 535 | } |
| 536 | 536 | |
| 537 | 537 | int ScriptEngines::runScriptInitializers(ScriptEnginePointer scriptEngine) { |
| 538 | − // register our application services and set it off on its own thread | |
| 539 | 538 | int ii=0; |
| 540 | 539 | for (auto initializer : _scriptInitializers) { |
| 541 | 540 | ii++; |
| @@ -554,6 +553,7 @@ void ScriptEngines::launchScriptEngine(ScriptEnginePointer scriptEngine) { · 12 unmodified lines | ||
| 554 | 553 | loadScript(scriptName, userLoaded, false, false, true); |
| 555 | 554 | }); |
| 556 | 555 | |
| 556 | + // register our application services and set it off on its own thread | |
| 557 | 557 | runScriptInitializers(scriptEngine); |
| 558 | 558 | |
| 559 | 559 | // FIXME disabling 'shift key' debugging for now. If you start up the application with |