schellingb / UnityCapture

Streams Unity rendered output to other Windows applications as virtual capture device
420 stars 65 forks source link

fix: CCaptureStream destruct, show stop Threads, to prevent Threads c… #29

Closed Isetta-Han closed 1 year ago

Isetta-Han commented 1 year ago

…lass destruct after JobsMutex class is already destruct.

schellingb commented 1 year ago

This looks useful. I personally don't have a use for UnityCapture anymore and don't even have a setup to test this, but I'm going to trust you with this one :-)

TigerHix commented 1 year ago

Just wanted to comment that this is very useful indeed. Otherwise it turns out libdshowcapture(https://github.com/obsproject/libdshowcapture) used in OBS Studio will be stuck when trying to enumerate devices. Thanks for the fix!

Isetta-Han commented 1 year ago

thanks for trust, i test this fix in my project