mirror of
https://github.com/upa/mscp.git
synced 2026-03-06 23:57:33 +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)
|
void sigint_handler(int sig)
|
||||||
{
|
{
|
||||||
if (tid_stat)
|
|
||||||
pthread_cancel(tid_stat);
|
|
||||||
mscp_stop(m);
|
mscp_stop(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user