trivial: Disconnect all handlers, including the generic one

This commit is contained in:
Richard Hughes 2021-09-08 13:43:11 +01:00
parent 0a81e22777
commit 39e45920b6

View File

@ -253,6 +253,7 @@ fu_engine_watch_device(FuEngine *self, FuDevice *device)
fu_engine_progress_notify_cb,
self);
g_signal_handlers_disconnect_by_func(device_old, fu_engine_status_notify_cb, self);
g_signal_handlers_disconnect_by_func(device_old, fu_engine_generic_notify_cb, self);
g_signal_handlers_disconnect_by_func(device_old, fu_engine_history_notify_cb, self);
g_signal_handlers_disconnect_by_func(device_old, fu_engine_device_request_cb, self);
}