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