From 755d9f5216360d273ce2ea9667062682e6fa60f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sun, 28 Dec 2003 17:52:15 +0000 Subject: [PATCH] Don't destroy heap on unload, other DLLs might still depend on it svn path=/trunk/; revision=7297 --- 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..d4e9ab51d02 100644 --- a/reactos/lib/comctl32/commctrl.c +++ b/reactos/lib/comctl32/commctrl.c @@ -220,8 +220,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) COMCTL32_aSubclass = NULL; /* destroy private heap */ +#if 0 HeapDestroy (COMCTL32_hHeap); TRACE("Heap destroyed: %p\n", COMCTL32_hHeap); +#endif COMCTL32_hHeap = NULL; break; }