Files
obs-studio/libobs
tt2468 d07bd7dff2 libobs: Hold source ref during source_remove signal
Holds an active reference to a source during signaling of the
`source_remove` signal, to prevent receivers from being given an
already-destroyed source.

- Call obs_source_remove(source)
- Receiver 1 gets signal, calls `obs_source_release(source)`
- Receiver 2 gets signal, calls `obs_source_release(source)`,
refs == -1, source destroyed
- Receiver 3 gets signal, source already destroyed, is forced to ignore
signal due to invalid source

This is a theoretical situation which is currently possible in
obs-websocket.
2021-12-19 11:25:43 -08:00
..
2021-07-06 14:08:28 -07:00
2019-06-23 23:49:10 -07:00
2021-10-04 10:38:39 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2021-03-16 22:15:16 -07:00
2019-10-14 17:19:38 -07:00
2019-06-23 23:49:10 -07:00
2021-11-24 01:32:31 -08:00
2021-02-09 09:39:04 -03:00