mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
winex11: Delete the palette and xrender static critical sections when unloading the dll.
This commit is contained in:
parent
54bcda10e5
commit
06646b7aa2
2 changed files with 2 additions and 0 deletions
|
@ -275,6 +275,7 @@ void X11DRV_PALETTE_Cleanup(void)
|
|||
COLOR_gapFilled, 0);
|
||||
wine_tsx11_unlock();
|
||||
}
|
||||
DeleteCriticalSection(&palette_cs);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
|
@ -1118,6 +1118,7 @@ void X11DRV_XRender_Finalize(void)
|
|||
for(i = mru; i >= 0; i = glyphsetCache[i].next)
|
||||
FreeEntry(i);
|
||||
LeaveCriticalSection(&xrender_cs);
|
||||
DeleteCriticalSection(&xrender_cs);
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
|
|
Loading…
Reference in a new issue