use threadexitsall
This commit is contained in:
parent
f002cc17a6
commit
ad00bb91b9
@ -303,7 +303,7 @@ hangupnote(void *a, char *msg)
|
||||
}
|
||||
if(strstr(msg, "child")){
|
||||
/* bug: do better */
|
||||
exits(0);
|
||||
threadexitsall(0);
|
||||
}
|
||||
noted(NDFLT);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user