flyingpie / windows-terminal-quake

Enable Quake-style dropdown for (almost) any application.
https://wtq.flyingpie.nl
MIT License
598 stars 39 forks source link

Fix "the sequence contains no elements" error #25

Closed webbertakken closed 4 years ago

webbertakken commented 4 years ago

This takes care of the error "the sequence contains no elements".

I tried reducing it to 25 or 50 milliseconds which still proved to be unstable. Hope this will fix the problem for everyone.

I have the feeling it has something to do with the targeted framework.

webbertakken commented 4 years ago

This iteration will not be merged, because the request was to have full robust solution at once.

flyingpie commented 4 years ago

@webbertakken I've edited your PR to make use of the retry logic, but it's basically what you did with some extra fluff. Could you perhaps take this code and send it as a PR, so I can properly credit you for it?

https://github.com/flyingpie/windows-terminal-quake/pull/28/files