From ff2417063db59864f1d9091ef35f2792e76fcdf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sat, 3 Jan 2004 21:59:55 +0000 Subject: [PATCH] Don't destroy heap on unload, other DLLs might still depend on it svn path=/trunk/; revision=7432 --- reactos/lib/comctl32/commctrl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/lib/comctl32/commctrl.c b/reactos/lib/comctl32/commctrl.c index bb1464c8593..f1dab02ba15 100644 --- a/reactos/lib/comctl32/commctrl.c +++ b/reactos/lib/comctl32/commctrl.c @@ -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; }