-
Notifications
You must be signed in to change notification settings - Fork 93
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
FIX for high cpu usage #9
Comments
Hi houdang, |
I simply start the program and start sending.. that's all. cpu goes then high after some minutes. Thanks ! And greeting from Nuremberg ;-) |
Hey, I use SWYH since 15 minutes, with 5 connected clients. I try to disconnect & reconnect clients but the CPU usage is always about 5 I used VLC as client for the test but if I use Kodi, I can reproduce the bug :) In fact, Kodi (and other client ???) create multiple connection to SWYH that raise the OnStreamDone event more times with the same SessionID. So in my code the first time I successfully removes the session but then I wait indefinitely to remove a session that no longer exists (without sleep = busy loop = high cpu usage) ! I don't use the code of slash from the forum to fix that, I just added a condition to remove the session if it exists ;) Tell me if it's OK for you to close this issue. |
Hi their,
the program uses 100% cpu load and can be fixed easily.. but im not into C#.
Can someone have a look on this topic and include thos 4 lines of code?
http://www.streamwhatyouhear.com/forums/topic/fix-for-high-cpu-usage/
Thanks !!
The text was updated successfully, but these errors were encountered: