Just as we do in similar places. This avoids crashes under certain circumstances.
Context: https://github.com/obsproject/obs-studio/pull/2484/commits/c8f355a83778685884b8c440b04f5c70509c6495
cc: @feaneron
Just as we do in similar places. This avoids crashes under certain circumstances.
Context: https://github.com/obsproject/obs-studio/pull/2484/commits/c8f355a83778685884b8c440b04f5c70509c6495
cc: @feaneron