X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=anykey.c;h=24970c2c299a26733dc754a34a3c586925367be5;hb=7091896f954320abd4a46ed5569a436d904c2d2e;hp=1e006b52d3f4ba718d61cbff31b6fb4ac3b4c10b;hpb=f1f703bf0dc63e2b6149f4cfba294253991d04f7;p=sigrok-cli.git diff --git a/anykey.c b/anykey.c index 1e006b5..24970c2 100644 --- a/anykey.c +++ b/anykey.c @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the sigrok-cli project. * * Copyright (C) 2011 Bert Vermeulen * @@ -42,6 +42,7 @@ static int received_anykey(int fd, int revents, void *cb_data) (void)revents; (void)cb_data; + sr_session_source_remove(STDIN_FILENO); sr_session_stop(); return TRUE;