Mutex undelete and more resource unrelease
by King · in Torque Game Engine · 01/05/2006 (2:23 am) · 4 replies
Engine\platform\platformMemory.cc(843)
I can't debugbreak in " static void shutdown() ", it is not run.
so memory leak.
I can't debugbreak in " static void shutdown() ", it is not run.
so memory leak.
#2
I don't see a call in the main engine, or in any of the platform libs.
I could be wrong now... but it looks like the memory manager's mass-deallocation is never run.
This, of course, should not matter to any modern OS, which will deallocate the memory when the process exits anyway.
/Paul
01/09/2006 (3:33 pm)
Looks like static void Memory::shutdown() is never called.I don't see a call in the main engine, or in any of the platform libs.
I could be wrong now... but it looks like the memory manager's mass-deallocation is never run.
This, of course, should not matter to any modern OS, which will deallocate the memory when the process exits anyway.
/Paul
#4
01/11/2006 (11:25 am)
We should not be relying on the OS to clean up our memory on exit though. If we aren't shutting down properly, this should be fixed.
Associate Kyle Carter