From bf64facaf61dce77a0b3d35adb01d2c2177b9165 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 30 Nov 2024 22:10:37 -0800 Subject: [PATCH] FEXCore: Removes CoreShuttingDown from ContextImpl This is unused now. NFC --- FEXCore/Source/Interface/Context/Context.h | 2 -- FEXCore/Source/Interface/Core/Core.cpp | 2 -- 2 files changed, 4 deletions(-) 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); }