From 1735fa9c6c5990a55462a438f0a52950d645923d Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Tue, 24 Oct 2023 18:33:25 +0100 Subject: [PATCH] [*] deinit check --- Source/Processes/AuOpen.Win32.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Processes/AuOpen.Win32.cpp b/Source/Processes/AuOpen.Win32.cpp index dee81fd6..61ffb017 100644 --- a/Source/Processes/AuOpen.Win32.cpp +++ b/Source/Processes/AuOpen.Win32.cpp @@ -123,6 +123,10 @@ namespace Aurora::Processes void DeinitWin32Opener() { + if (!gOpenerThread) + { + return; + } gOpenerThread->SendExitSignal(); gCondVariable->Signal(); gOpenerThread.reset();