From 91dcfefc5c30c5586840e796615ee8bb2e4d0f05 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 23 Feb 2024 17:48:23 +0100 Subject: [PATCH] fix: Crash when recovering from a thrown exception in the main thread --- main/gui/source/window/window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main/gui/source/window/window.cpp b/main/gui/source/window/window.cpp index 6da4529a5..602064931 100644 --- a/main/gui/source/window/window.cpp +++ b/main/gui/source/window/window.cpp @@ -152,6 +152,7 @@ namespace hex { this->frameEnd(); } catch (...) { ImGui::ErrorCheckEndFrameRecover(errorRecoverLogCallback, nullptr); + ImGui::EndFrame(); handleException(); } }