From 05a7e967593fc3bcb92b01910851897ac1caa23a Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Wed, 13 Sep 2023 15:08:40 +0900 Subject: main: call only mscp_stop() when receives sigint --- src/main.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index f7e627a..6efab03 100644 --- a/src/main.c +++ b/src/main.c @@ -173,8 +173,6 @@ pthread_t tid_stat = 0; void sigint_handler(int sig) { - if (tid_stat) - pthread_cancel(tid_stat); mscp_stop(m); } -- cgit v1.2.3