tt2468 a8c481a80e libobs: Only warn when releasing non-NULL source
Only warn when the pointer provided to obs_source_release() is
non-NULL. In some custom usages of libobs, libobs may be freed before
OBS* smart pointers (like OBSSource) are destructed, leading to a
misleading warning if the pointers have already been cleared with
nullptr.

Previous behavior is basically:
- Clear OBS* pointers with nullptr
- Unload libobs
- Those smart pointers that were cleared will still call
obs_source_release() on destruct
- Warning appears
2022-05-21 15:33:39 -07:00
..
2022-05-21 02:24:43 +02:00
2022-05-15 02:31:31 -07:00
2022-03-27 16:28:40 -07:00
2019-06-23 23:49:10 -07:00
2022-03-19 15:46:34 -07:00
2022-03-19 15:46:34 -07:00
2019-06-23 23:49:10 -07:00
2022-03-19 15:46:34 -07:00
2022-03-19 15:46:34 -07:00
2019-10-14 17:19:38 -07:00