diff --git a/FEXCore/Source/Interface/Context/Context.h b/FEXCore/Source/Interface/Context/Context.h index 857e1a821..a8feb7542 100644 --- a/FEXCore/Source/Interface/Context/Context.h +++ b/FEXCore/Source/Interface/Context/Context.h @@ -234,8 +234,6 @@ public: FEX_CONFIG_OPT(StrictInProcessSplitLocks, STRICTINPROCESSSPLITLOCKS); } Config; - std::atomic_bool CoreShuttingDown {false}; - FEXCore::ForkableSharedMutex CodeInvalidationMutex; uint32_t StrictSplitLockMutex {}; diff --git a/FEXCore/Source/Interface/Core/Core.cpp b/FEXCore/Source/Interface/Core/Core.cpp index 21e93d14c..1dbaa53a9 100644 --- a/FEXCore/Source/Interface/Core/Core.cpp +++ b/FEXCore/Source/Interface/Core/Core.cpp @@ -366,8 +366,6 @@ void ContextImpl::HandleCallback(FEXCore::Core::InternalThreadState* Thread, uin void ContextImpl::RunUntilExit(FEXCore::Core::InternalThreadState* Thread) { ExecutionThread(Thread); - CoreShuttingDown.store(true); - if (CustomExitHandler) { CustomExitHandler(Thread); }