From 2e4588336580b1f1bcc0442b45ff1ae205a019a8 Mon Sep 17 00:00:00 2001 From: Mario Zimmermann Date: Tue, 17 Dec 2024 16:36:30 +0100 Subject: [PATCH] unregister signal handler on cleanup The signal handler for `DT_SIGNAL_IMAGEIO_STORAGE_EXPORT_ENABLE` in the export module is not unregistered on cleanup. --- src/libs/export.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/export.c b/src/libs/export.c index b7240e4f12eb..05877d718dd6 100644 --- a/src/libs/export.c +++ b/src/libs/export.c @@ -1566,6 +1566,7 @@ void gui_cleanup(dt_lib_module_t *self) DT_CONTROL_SIGNAL_DISCONNECT(_image_selection_changed_callback, self); DT_CONTROL_SIGNAL_DISCONNECT(_mouse_over_image_callback, self); DT_CONTROL_SIGNAL_DISCONNECT(_collection_updated_callback, self); + DT_CONTROL_SIGNAL_DISCONNECT(_export_enable_callback, self); for(const GList *it = darktable.imageio->plugins_storage; it; it = g_list_next(it)) {