- marked a few Printf calls in critical error paths as PRINT_NONOTIFY.
This commit is contained in:
parent
07f08de474
commit
ef887403cf
5 changed files with 7 additions and 8 deletions
|
|
@ -538,7 +538,7 @@ bool FThinkerList::DoDestroyThinkers()
|
|||
{
|
||||
Printf("VM exception in DestroyThinkers:\n");
|
||||
exception.MaybePrintMessage();
|
||||
Printf("%s", exception.stacktrace.GetChars());
|
||||
Printf(PRINT_NONOTIFY, "%s", exception.stacktrace.GetChars());
|
||||
// forcibly delete this. Cleanup may be incomplete, though.
|
||||
node->ObjectFlags |= OF_YesReallyDelete;
|
||||
delete node;
|
||||
|
|
@ -546,7 +546,7 @@ bool FThinkerList::DoDestroyThinkers()
|
|||
}
|
||||
catch (CRecoverableError &exception)
|
||||
{
|
||||
Printf("Error in DestroyThinkers: %s\n", exception.GetMessage());
|
||||
Printf(PRINT_NONOTIFY, "Error in DestroyThinkers: %s\n", exception.GetMessage());
|
||||
// forcibly delete this. Cleanup may be incomplete, though.
|
||||
node->ObjectFlags |= OF_YesReallyDelete;
|
||||
delete node;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue