mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
parent
c9001d0f98
commit
e4b81c2b1b
2
deps/obs-scripting/obs-scripting-python.c
vendored
2
deps/obs-scripting/obs-scripting-python.c
vendored
|
@ -595,7 +595,7 @@ static PyObject *obs_python_signal_handler_disconnect(PyObject *self,
|
|||
const char *cb_signal =
|
||||
calldata_string(&cb->base.extra, "signal");
|
||||
|
||||
if (cb_signal && strcmp(signal, cb_signal) != 0 &&
|
||||
if (cb_signal && strcmp(signal, cb_signal) == 0 &&
|
||||
handler == cb_handler)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue