mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user