acme/win: exit winfs once acme shuts down the window
This commit is contained in:
parent
4fb7462bd5
commit
614b18484c
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ wingetec(Window *w)
|
|||
w->nbuf = read(w->event, w->buf, sizeof w->buf);
|
||||
if(w->nbuf <= 0){
|
||||
/* probably because window has exited, and only called by wineventproc, so just shut down */
|
||||
threadexits(nil);
|
||||
threadexitsall(nil);
|
||||
}
|
||||
w->bufp = w->buf;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue