mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- garbage collect static event handlers on restart
Remaining object(s) led to a potential crash on the next garbage collection cycle Assertion failure was triggered during restarting in Debug configuration
This commit is contained in:
parent
9fb34fd8e6
commit
e085a8d58a
1 changed files with 1 additions and 0 deletions
|
@ -2730,6 +2730,7 @@ void D_DoomMain (void)
|
|||
ST_Clear();
|
||||
D_ErrorCleanup ();
|
||||
DThinker::DestroyThinkersInList(STAT_STATIC);
|
||||
E_Shutdown(false);
|
||||
P_FreeLevelData();
|
||||
P_FreeExtraLevelData();
|
||||
|
||||
|
|
Loading…
Reference in a new issue