mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 11:34:44 +08:00
main: call only mscp_stop() when receives sigint
This commit is contained in:
@@ -173,8 +173,6 @@ pthread_t tid_stat = 0;
|
||||
|
||||
void sigint_handler(int sig)
|
||||
{
|
||||
if (tid_stat)
|
||||
pthread_cancel(tid_stat);
|
||||
mscp_stop(m);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user