Andersama / obs-asio

ASIO plugin for OBS-Studio
GNU General Public License v3.0
703 stars 44 forks source link

BUGFIX: single thread approach #153

Closed Andersama closed 6 months ago

Andersama commented 6 months ago

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).