obs-outputs: Stop in thread to prevent locking UI
Sometimes stopping a connection can lock up due to data that still remains to be sent, and this would lock up the thread requesting the stop (typically the UI thread). So instead of locking up the calling thread, spawn a new thread specifically for stopping so the calling thread can continue uninterrupted. If the user attempts to reconnect, it will wait for the stop thread to complete in the connect thread before attempting to connect.
Showing
想要评论请 注册 或 登录