mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-14 08:30:35 +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
532a726ae3
commit
262e93db2b
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