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

BUGFIX: single thread approach #153

Merged
merged 3 commits into from
May 21, 2024
Merged

Conversation

Andersama
Copy link
Owner

A really old edit pkv made to switch from multithreading to single threading created a few bugs because each thread originally maintained it's own client list and each "device" assumed it had a unique thread.

This should be a quick and dirty fix where each device now maintains its own client list, a bit redundant given the one in the global thread.

Hopefully this also resolves #147, I'm assuming the crash was the result of the error handler originally stopping its own thread (the bug being now it stops the only thread).

Andersama added 2 commits May 21, 2024 06:35
A really old edit pkv made to switch from multithreading to single threading created a few bugs because each thread originally maintained it's own client list and each "device" assumed it had a unique thread.

This should be a quick and dirty fix where each device now maintains its own client list, a bit redundant given the one in the global thread.

Hopefully this also resolves #147, I'm assuming the crash was the result of the error handler originally stopping its own thread (the bug being now it stops the only thread).
@Andersama Andersama marked this pull request as ready for review May 21, 2024 13:45
@Andersama Andersama force-pushed the Andersama-singlethread-patch-1 branch from 9504cb4 to 162c9f1 Compare May 21, 2024 20:17
@Andersama Andersama merged commit 5cfae78 into asio-juce May 21, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash on OBS 30.0.2 when device disconnects
1 participant