/*
- * This file is part of the sigrok project.
+ * This file is part of the sigrok-cli project.
*
* Copyright (C) 2011 Bert Vermeulen <bert@biot.com>
*
static int received_anykey(int fd, int revents, void *cb_data)
{
- /* Avoid compiler warnings. */
(void)fd;
(void)revents;
(void)cb_data;
+ sr_session_source_remove(STDIN_FILENO);
sr_session_stop();
return TRUE;