Playnite
Playnite copied to clipboard
Powershell error if SearchBar is opened very early on startup
Bug Description
Error if SearchBar is opened on startup while Playnite has not fully loaded
Error is: The state of the current PowerShell instance is not valid for this operation.
To Reproduce
- Have Powershell extension that has MenuItems
- Open Playnite's Search Bar during startup using the registered HotKey. May be a race condition that the hotkey is registered before powershell has completely started, probably caused by PC being slow
It happened when I tried to open the SearchBar when Playnite was starting and my system was doing several tasks that slowed everything down. I can't reproduce it again so it may only happen in that scenario.
There wasn't anything in the logs (Or I accidentally deleted it 😶?)
Playnite started without any issues even after the error