git: 9front

Download patch

ref: c1b225138fbece246f7e9600621a9c984e617c0d
parent: 9d3cf67a5027af987303b57fcc5296bbee083b3c
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;
 	}
--