mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04: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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue