Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 6 files). Show all
Unified · Split
| @@ -591,6 +591,8 @@ void ScriptEngines::onScriptFinished(const QString& rawScriptURL, ScriptEnginePo · 590 unmodified lines | |||
| 591 | } | 591 | } |
| 592 | } | 592 | } |
| 593 | 593 | ||
| 594 | removeScriptEngine(engine); | ||
| 595 | |||
| 594 | if (removed && !_isReloading) { | 596 | if (removed && !_isReloading) { |
| 595 | // Update settings with removed script | 597 | // Update settings with removed script |
| 596 | saveScripts(); | 598 | saveScripts(); |