shell32: Don't call comctl32 on unload time if it wasn't used before.
This commit is contained in:
parent
58f16ddd4e
commit
b5312b70f5
|
@ -405,8 +405,10 @@ void SIC_Destroy(void)
|
|||
|
||||
if (sic_hdpa) DPA_DestroyCallback(sic_hdpa, sic_free, NULL );
|
||||
|
||||
ImageList_Destroy(ShellSmallIconList);
|
||||
ImageList_Destroy(ShellBigIconList);
|
||||
if (ShellSmallIconList)
|
||||
ImageList_Destroy(ShellSmallIconList);
|
||||
if (ShellBigIconList)
|
||||
ImageList_Destroy(ShellBigIconList);
|
||||
|
||||
LeaveCriticalSection(&SHELL32_SicCS);
|
||||
DeleteCriticalSection(&SHELL32_SicCS);
|
||||
|
|
Loading…
Reference in New Issue