Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libobs: Fix logging of remaining views
OBS has been logging `1 views remain at shutdown` when in reality there are not technically any views remaining. When views are removed, the view itself is destroyed immediately, but the mix remains, to be garbage collected by the graphics thread. In this case, the view has already been removed, but the graphics thread has not run an interation and cleaned up the mix, so this log message appears. Fixes the issue by checking if a mix actually has an assigned view, instead of blindly logging existing mixes.
- Loading branch information