Don't destroy heap on unload, other DLLs might still depend on it

svn path=/trunk/; revision=7432
This commit is contained in:
Gé van Geldorp
2004-01-03 21:59:55 +00:00
parent c738276596
commit ff2417063d
+2
View File
@@ -219,9 +219,11 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
TRACE("Subclassing atom deleted: %p\n", COMCTL32_aSubclass);
COMCTL32_aSubclass = NULL;
#if 0 /* Can't destroy heap, other DLLs might have DPA items in it */
/* destroy private heap */
HeapDestroy (COMCTL32_hHeap);
TRACE("Heap destroyed: %p\n", COMCTL32_hHeap);
#endif
COMCTL32_hHeap = NULL;
break;
}