obs-studio/libobs/callback
jp9000 3a05cf6ab0 libobs/callback: Add signal reference counting
Adds a simple signal reference counting function
(signal_handler_connect_ref) that makes it so that signals keep the
handler around until the all the signal itself is disconnected.  This
prevents potential crashes where a signal might try to disconnect after
a handler has already been destroyed (typically in C++ with
OBSSignalHandler helper objects, where destruction isn't guaranteed to
be predictable).

This also modifies OBSSignalHandler to use the reference-counting
connections.
2018-06-03 15:04:03 -07:00
..
calldata.c libobs/callback: Allow ability to use calldata_t with stack 2016-01-25 17:29:08 -08:00
calldata.h libobs/callback: Add calldata_create and calldata_destroy 2018-01-18 08:53:19 -08:00
decl.c Fix various typos across multiple modules 2017-04-25 22:39:42 -04:00
decl.h Fix various null pointer issues detected by Coverity 2017-02-25 16:45:45 +01:00
proc.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
proc.h (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
signal.c libobs/callback: Add signal reference counting 2018-06-03 15:04:03 -07:00
signal.h libobs/callback: Add signal reference counting 2018-06-03 15:04:03 -07:00