mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +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
(cherry picked from commit e085a8d58a
)
This commit is contained in:
parent
9f698c4fda
commit
94b68e76f6
1 changed files with 1 additions and 0 deletions
|
@ -2779,6 +2779,7 @@ void D_DoomMain (void)
|
||||||
ST_Clear();
|
ST_Clear();
|
||||||
D_ErrorCleanup ();
|
D_ErrorCleanup ();
|
||||||
DThinker::DestroyThinkersInList(STAT_STATIC);
|
DThinker::DestroyThinkersInList(STAT_STATIC);
|
||||||
|
E_Shutdown(false);
|
||||||
P_FreeLevelData();
|
P_FreeLevelData();
|
||||||
P_FreeExtraLevelData();
|
P_FreeExtraLevelData();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue