summaryrefslogtreecommitdiff
path: root/src/sydra.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sydra.c')
-rw-r--r--src/sydra.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sydra.c b/src/sydra.c
index a4d2d05..9eed676 100644
--- a/src/sydra.c
+++ b/src/sydra.c
@@ -204,6 +204,9 @@ int main_loop(options_t* opt)
g_unix_signal_add(SIGTERM, sig_handler_terminate, loop);
g_main_loop_run(loop);
+ if(opt->mode_ == RECEIVER)
+ detach_udpsources(&sources);
+
if (deep_notify_id != 0)
g_signal_handler_disconnect(pipeline, deep_notify_id);