aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'capture_sync.c')
-rw-r--r--capture_sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capture_sync.c b/capture_sync.c
index 35d4833219..8ef2ed148a 100644
--- a/capture_sync.c
+++ b/capture_sync.c
@@ -1618,6 +1618,8 @@ sync_pipe_input_cb(gint source, gpointer user_data)
we can't do much more than telling the child to stop
(this is the "emergency brake" if user e.g. wants to switch files every second) */
sync_pipe_stop(capture_opts);
+ capture_input_closed(capture_opts, NULL);
+ return FALSE;
}
break;
case SP_PACKET_COUNT: