mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 17:50:56 +00:00
[Win32] Release ITaskbarList3 on failed HrInit
The pointer wasn't NULL'd, thus set_window_progress would cause weird behaviour
This commit is contained in:
parent
8f1de8a343
commit
e8f85e019f
@ -102,7 +102,10 @@ static void *win32_display_server_init(void)
|
||||
else
|
||||
{
|
||||
if (FAILED(ITaskbarList3_HrInit(dispserv->taskbar_list)))
|
||||
{
|
||||
RARCH_ERR("[dispserv]: HrInit of ITaskbarList3 failed.\n");
|
||||
dispserv->taskbar_list = NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user