Closed guihkx closed 3 months ago
get_window_process() can fail for many reasons, one of them being lack of permission to inject into some processes.
get_window_process()
Before this change, the process scanner thread could crash by simply launching the Task Manager (taskmgr.exe), before we injected into Spotify.
taskmgr.exe
I also added a check for event.window_handle(), just to be safe.
event.window_handle()
Fixes #15
get_window_process()
can fail for many reasons, one of them being lack of permission to inject into some processes.Before this change, the process scanner thread could crash by simply launching the Task Manager (
taskmgr.exe
), before we injected into Spotify.I also added a check for
event.window_handle()
, just to be safe.Fixes #15