mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed crash in regressiontest of statistics case
Destructor chain deleting view fired off getting all cases, which accessed case during its destruction.
This commit is contained in:
@@ -1327,6 +1327,7 @@ void RiuMainWindow::slotSubWindowActivated(QMdiSubWindow* subWindow)
|
||||
{
|
||||
RimProject * proj = RiaApplication::instance()->project();
|
||||
if (!proj) return;
|
||||
if (!subWindow) return;
|
||||
|
||||
// Iterate all cases in each oil field
|
||||
std::vector<RimCase*> allCases;
|
||||
|
||||
Reference in New Issue
Block a user