DLL library unloaded during sequence causing reference to released object

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@40087 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2016-09-16 15:22:50 +00:00
parent 8b05cec0e1
commit ee6453135a

View file

@ -222,9 +222,12 @@ void _initWin32Context()
void _destroyWin32Context()
{
// Remove the process' info dictionary...
// Remove the process' info dictionary entried...
_removeProcessInfo();
// Free process info dictionary...
DESTROY(gProcessInfo);
// Destroy the message window...
if (gHandleWin != NULL)
DestroyWindow(gHandleWin);
@ -671,7 +674,6 @@ void removeAppIconsForProcess()
void _removeProcessInfo()
{
removeAppIconsForProcess();
[gProcessInfo release];
}
UINT _addApplicationIcon(DWORD processID, const char *uuidString, HICON icon)