mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7839 Python: fix crash when stopping process
This commit is contained in:
parent
86af2b4dfc
commit
7065d5eaf4
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user