#7839 Python: fix crash when stopping process

This commit is contained in:
Kristian Bendiksen 2022-11-28 11:59:53 +01:00 committed by Magne Sjaastad
parent 86af2b4dfc
commit 7065d5eaf4

View File

@ -1180,11 +1180,8 @@ void RiaApplication::terminateProcess()
{ {
if ( m_workerProcess ) if ( m_workerProcess )
{ {
m_workerProcess->close(); m_workerProcess->kill();
} }
m_runningWorkerProcess = false;
m_workerProcess = nullptr;
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------