Zhiyi Zhang (@zhiyi) commented about dlls/win32u/sysparams.c:
free( displays ); if (ret) return ret;
Let's move these codes here ``` restorer_window = NtUserFindWindowEx( NULL, NULL, &restoter_str, NULL, 0 ); restorer_thread_id = NtUserGetWindowThread( restorer_window, NULL ); ```
Also check if restorer_window is found before sending a message because explorer.exe might not be running.