-
Notifications
You must be signed in to change notification settings - Fork 134
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
Two small fixes to enable reconnecting and prevent forked process from hanging at 100% cpu #4
Conversation
Bug in handle_info prevent latest iOS to connect
Catalina came with Python2. Updated instructions to include installing python3 and using it with virtualenv
Fixes reconnect issue Fixes 100% CPU usage after disconnect issue
@PaulWieland: Applied, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is giving issues with buffered audio
self.server.hap = None | ||
|
||
# terminate the forked event_proc, otherwise a zombie process consumes 100% cpu | ||
self.event_proc.terminate() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to cause the tcp connection to be closed. Hence when skipping a track forward airplay disconnects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, hanging processes seem worse than disconnects at fast forward. But this is a good find. Do your instincts have any proposals about how to reconcile the CPU fix and a disconnect fix?
@systemcrash: Have you seen the @glmnet comment? |
No description provided.