From 85167fa1802ad667e0dd654768d3e68b9c776204 Mon Sep 17 00:00:00 2001 From: HarrievG Date: Mon, 24 May 2021 22:27:00 +0200 Subject: [PATCH] - fixed deadlock fix for debugger server --- neo/framework/Common.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/neo/framework/Common.cpp b/neo/framework/Common.cpp index 4782c3de..7e7e5014 100644 --- a/neo/framework/Common.cpp +++ b/neo/framework/Common.cpp @@ -389,9 +389,11 @@ void idCommonLocal::VPrintf( const char *fmt, va_list args ) { // print to script debugger server if ( com_editors & EDITOR_DEBUGGER ) DebuggerServerPrint( msg ); + else + // only echo to dedicated console and early console when debugger is not running so no + // deadlocks occur if engine functions called from the debuggerthread trace stuff.. + Sys_Printf( "%s", msg ); } else { - // only echo to dedicated console and early console when debugger is not running so no - // deadlocks occur if engine functions called from the debuggerthread trace stuff.. Sys_Printf( "%s", msg ); } #if 0 // !@#