minor fixes

This commit is contained in:
luiscuenca 2018-04-30 16:26:04 -07:00
parent 2de982a5a2
commit 50ca09b3b4
2 changed files with 2 additions and 1 deletions

View file

@ -2286,7 +2286,7 @@ void Application::onAboutToQuit() {
// Hide Running Scripts dialog so that it gets destroyed in an orderly manner; prevents warnings at shutdown.
DependencyManager::get<OffscreenUi>()->hide("RunningScripts");
_aboutToQuit = true;
cleanupBeforeQuit();

View file

@ -192,6 +192,7 @@ ScriptEngine::ScriptEngine(Context context, const QString& scriptContents, const
break;
case Context::AGENT_SCRIPT:
_type = Type::AGENT;
break;
}
connect(this, &QScriptEngine::signalHandlerException, this, [this](const QScriptValue& exception) {