mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Avoid crash when exit from python is called when UI is running
This commit is contained in:
1 parent
40e0f471d0
commit
bfae28b4b4
1 file changed
+1
-1
@@ -1574,7 +1574,7 @@ void RiaGuiApplication::stopMonitoringWorkProgress()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaGuiApplication::slotWorkerProcessFinished( int exitCode, QProcess::ExitStatus exitStatus )
|
||||
{
|
||||
CAF_ASSERT( m_mainWindow );
|
||||
if ( m_mainWindow == nullptr ) return;
|
||||
|
||||
m_mainWindow->processMonitor()->stopMonitorWorkProcess();
|
||||
|
||||
|
||||
Reference in new issue
Block a user