mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-23 04:51:56 +00:00
- fixed deadlock fix for debugger server
This commit is contained in:
parent
3ce93c7749
commit
85167fa180
1 changed files with 4 additions and 2 deletions
|
@ -389,9 +389,11 @@ void idCommonLocal::VPrintf( const char *fmt, va_list args ) {
|
||||||
// print to script debugger server
|
// print to script debugger server
|
||||||
if ( com_editors & EDITOR_DEBUGGER )
|
if ( com_editors & EDITOR_DEBUGGER )
|
||||||
DebuggerServerPrint( msg );
|
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 {
|
} 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 );
|
Sys_Printf( "%s", msg );
|
||||||
}
|
}
|
||||||
#if 0 // !@#
|
#if 0 // !@#
|
||||||
|
|
Loading…
Reference in a new issue