mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use a mutex to make sure all command objects have completed before issuing snapshots in the regression tests.
p4#: 22400
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
#pragma once
|
||||
#include <QApplication>
|
||||
#include <QProcess>
|
||||
#include <QMutex>
|
||||
|
||||
#include "cafPdmObject.h"
|
||||
#include "cafPdmField.h"
|
||||
#include "cvfBase.h"
|
||||
@@ -174,4 +176,5 @@ private:
|
||||
QMap<QString, QVariant> m_sessionCache; // Session cache used to store username/passwords per session
|
||||
|
||||
std::list<RimCommandObject*> m_commandQueue;
|
||||
QMutex m_commandQueueLock;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user