acme/win: exit winfs once acme shuts down the window

This commit is contained in:
cinap_lenrek 2020-04-24 21:15:59 +02:00
parent 4fb7462bd5
commit 614b18484c

View file

@ -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;
}