use threadexitsall
This commit is contained in:
parent
f002cc17a6
commit
ad00bb91b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue