mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:03:00 +00:00
Don't destroy heap on unload, other DLLs might still depend on it
svn path=/trunk/; revision=7297
This commit is contained in:
parent
ce3d36ede6
commit
755d9f5216
1 changed files with 2 additions and 0 deletions
|
@ -220,8 +220,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
COMCTL32_aSubclass = NULL;
|
COMCTL32_aSubclass = NULL;
|
||||||
|
|
||||||
/* destroy private heap */
|
/* destroy private heap */
|
||||||
|
#if 0
|
||||||
HeapDestroy (COMCTL32_hHeap);
|
HeapDestroy (COMCTL32_hHeap);
|
||||||
TRACE("Heap destroyed: %p\n", COMCTL32_hHeap);
|
TRACE("Heap destroyed: %p\n", COMCTL32_hHeap);
|
||||||
|
#endif
|
||||||
COMCTL32_hHeap = NULL;
|
COMCTL32_hHeap = NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue