From b2a305027fcb9373bd520471bc782a800d5e4c86 Mon Sep 17 00:00:00 2001 From: Yimura Date: Sun, 27 Feb 2022 22:48:34 +0100 Subject: [PATCH] feat(TopBar): Fastest quit in the west --- BigBaseV2/src/gui/window/window_top_bar.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BigBaseV2/src/gui/window/window_top_bar.cpp b/BigBaseV2/src/gui/window/window_top_bar.cpp index 975a038e..bf5cfa80 100644 --- a/BigBaseV2/src/gui/window/window_top_bar.cpp +++ b/BigBaseV2/src/gui/window/window_top_bar.cpp @@ -68,7 +68,9 @@ namespace big if (ImGui::MenuItem("Rage Quit (hard crash)")) { - __debugbreak(); + g_running = false; + + TerminateProcess(GetCurrentProcess(), 0); } ImGui::EndMenu();