ref: 614b18484cb754c4ba936d143016b558845073b1
parent: 4fb7462bd53daffa8376a752cc06ad7cacfa85a9
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Apr 24 17:15:59 EDT 2020
acme/win: exit winfs once acme shuts down the window
--- a/acme/bin/source/win/win.c
+++ b/acme/bin/source/win/win.c
@@ -85,7 +85,7 @@
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;
}