mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-26 05:51:30 +00:00
- call FullGc twice, because once does not seem to be sufficient anymore when the object system is shut down
This commit is contained in:
parent
cc529d7051
commit
121e0bd478
2 changed files with 2 additions and 1 deletions
|
@ -252,6 +252,7 @@ void PClass::StaticShutdown ()
|
|||
// Make a full garbage collection here so that all destroyed but uncollected higher level objects
|
||||
// that still exist are properly taken down before the low level data is deleted.
|
||||
GC::FullGC();
|
||||
GC::FullGC();
|
||||
|
||||
|
||||
Namespaces.ReleaseSymbols();
|
||||
|
|
|
@ -548,7 +548,7 @@ int WINAPI wWinMain (HINSTANCE hInstance, HINSTANCE nothing, LPWSTR cmdline, int
|
|||
_CrtSetDbgFlag (_CrtSetDbgFlag(0) | _CRTDBG_LEAK_CHECK_DF);
|
||||
|
||||
// Use this to break at a specific allocation number.
|
||||
//_crtBreakAlloc = 227524;
|
||||
_crtBreakAlloc = 380659;
|
||||
#endif
|
||||
|
||||
int ret = DoMain (hInstance);
|
||||
|
|
Loading…
Reference in a new issue