refs #801, temp. fix. avoiding crash during shutdown

This commit is contained in:
Klaus Basan
2016-11-13 17:35:12 +01:00
parent ec5bbc37ad
commit 80d52963ef

View File

@@ -611,6 +611,8 @@ namespace BlackCore
void CContextSimulator::restoreSimulatorPlugins()
{
//! \todo #801, this shutdown flag should not be required
if (this->getRuntime()->isShuttingDown()) { return; }
stopSimulatorListeners();
auto enabledSimulators = m_enabledSimulators.getThreadLocal();