diff --git a/FEXCore/Source/Interface/Context/Context.h b/FEXCore/Source/Interface/Context/Context.h index 857e1a8217..a8feb7542a 100644 --- a/FEXCore/Source/Interface/Context/Context.h +++ b/FEXCore/Source/Interface/Context/Context.h @@ -234,8 +234,6 @@ class ContextImpl final : public FEXCore::Context::Context { 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 21e93d14c1..1dbaa53a92 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); }