mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove waitUntilWorkIsDone as this can cause eternal loops
This commit is contained in:
@@ -80,17 +80,3 @@ void RiaScheduler::startTimer( int msecs )
|
||||
m_updateTimer->start( msecs );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaScheduler::waitUntilWorkIsDone()
|
||||
{
|
||||
if ( m_updateTimer )
|
||||
{
|
||||
while ( m_updateTimer->isActive() )
|
||||
{
|
||||
QCoreApplication::processEvents();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user