diff --git a/src/system/kernel/debug/debug.cpp b/src/system/kernel/debug/debug.cpp index 8ac0bb7c40..6776b04185 100644 --- a/src/system/kernel/debug/debug.cpp +++ b/src/system/kernel/debug/debug.cpp @@ -781,6 +781,9 @@ exit_kernel_debugger() sDebugOutputFilter = NULL; sBlueScreenEnabled = false; + if (sDebugScreenEnabled) + blue_screen_enter(true); + atomic_add(&sInDebugger, -1); }