Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU usage after launching apps #146

Closed
ZIEXED opened this issue Jan 10, 2017 · 3 comments
Closed

High CPU usage after launching apps #146

ZIEXED opened this issue Jan 10, 2017 · 3 comments

Comments

@ZIEXED
Copy link

@ZIEXED ZIEXED commented Jan 10, 2017

After launching apps KP consume the whole thread power of my CPU (12.5%) for 3 seconds

@polyvertex
Copy link
Member

@polyvertex polyvertex commented Jan 10, 2017

Yes this is due to the use of Windows' ShellExecuteEx function.
Once an item has been launched with that API, Keypirinha has to flush any COM message implied by this call. The timing you observe seems about right but I will investigate about the CPU usage.

@polyvertex
Copy link
Member

@polyvertex polyvertex commented Jan 11, 2017

Ah. Found the culprit. This will be corrected in the next release.

@polyvertex
Copy link
Member

@polyvertex polyvertex commented Jan 14, 2017

Fixed in v2.9.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.