Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_init_exit.c
| Show First 20 Lines • Show All 573 Lines • ▼ Show 20 Lines | |||||
| #ifdef WITH_GAMEENGINE | #ifdef WITH_GAMEENGINE | ||||
| SYS_DeleteSystem(SYS_GetSystem()); | SYS_DeleteSystem(SYS_GetSystem()); | ||||
| #endif | #endif | ||||
| GHOST_DisposeSystemPaths(); | GHOST_DisposeSystemPaths(); | ||||
| BLI_threadapi_exit(); | BLI_threadapi_exit(); | ||||
| BKE_blender_atexit(); | |||||
| if (MEM_get_memory_blocks_in_use() != 0) { | if (MEM_get_memory_blocks_in_use() != 0) { | ||||
| size_t mem_in_use = MEM_get_memory_in_use() + MEM_get_memory_in_use(); | size_t mem_in_use = MEM_get_memory_in_use() + MEM_get_memory_in_use(); | ||||
| printf("Error: Not freed memory blocks: %u, total unfreed memory %f MB\n", | printf("Error: Not freed memory blocks: %u, total unfreed memory %f MB\n", | ||||
| MEM_get_memory_blocks_in_use(), | MEM_get_memory_blocks_in_use(), | ||||
| (double)mem_in_use / 1024 / 1024); | (double)mem_in_use / 1024 / 1024); | ||||
| MEM_printmemlist(); | MEM_printmemlist(); | ||||
| } | } | ||||
| wm_autosave_delete(); | wm_autosave_delete(); | ||||
| Show All 20 Lines | |||||