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

GUI freezes for some time #261

Closed
jacobly0 opened this issue Jun 22, 2018 · 1 comment
Closed

GUI freezes for some time #261

jacobly0 opened this issue Jun 22, 2018 · 1 comment
Assignees
Labels
annoyance BLOCKER Release-blocking issue bug GUI
Milestone

Comments

@jacobly0
Copy link
Member

jacobly0 commented Jun 22, 2018

Checking "Pause emulation on focus change" and then leaving CEmu unfocused for a long time causes the GUI to freeze for an extended period of time when CEmu is focused again. This is caused because the status update continues firing at Update status frequency while emulation is paused causing an absurd number of connections to be created, which takes a long time to sort out when number of seconds CEmu was unfocused signals have to be processed at 60Hz until all of the connections eventually get disconnected. Reported by Runer and diagnosed by me.

@jacobly0
Copy link
Member Author

You can make this trigger much faster by changing

m_timerEmu.start(value * 1000);
to a really low value before 8afafaf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
annoyance BLOCKER Release-blocking issue bug GUI
Development

No branches or pull requests

2 participants