X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=session.c;h=5f5ca8f01f7030cef93874d04047f0ee9692f75b;hp=0e426cdd1957268102797f37f0c95a5d981de7fb;hb=HEAD;hpb=6c94f0c1cd6cf6c146851e4e87b9e31b1b17d41d diff --git a/session.c b/session.c index 0e426cd..5f5ca8f 100644 --- a/session.c +++ b/session.c @@ -485,6 +485,10 @@ void datafeed_in(const struct sr_dev_inst *sdi, if (packet->type == SR_DF_END) { g_debug("cli: Received SR_DF_END."); +#if defined HAVE_SRD_SESSION_SEND_EOF && HAVE_SRD_SESSION_SEND_EOF + (void)srd_session_send_eof(srd_sess); +#endif + if (do_props) { props_dump_details(df_arg); props_cleanup(df_arg);