mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 19:35:33 +08:00
refs #801, temp. fix. avoiding crash during shutdown
This commit is contained in:
@@ -611,6 +611,8 @@ namespace BlackCore
|
|||||||
|
|
||||||
void CContextSimulator::restoreSimulatorPlugins()
|
void CContextSimulator::restoreSimulatorPlugins()
|
||||||
{
|
{
|
||||||
|
//! \todo #801, this shutdown flag should not be required
|
||||||
|
if (this->getRuntime()->isShuttingDown()) { return; }
|
||||||
stopSimulatorListeners();
|
stopSimulatorListeners();
|
||||||
|
|
||||||
auto enabledSimulators = m_enabledSimulators.getThreadLocal();
|
auto enabledSimulators = m_enabledSimulators.getThreadLocal();
|
||||||
|
|||||||
Reference in New Issue
Block a user