From 614b18484cb754c4ba936d143016b558845073b1 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Fri, 24 Apr 2020 21:15:59 +0200 Subject: [PATCH] acme/win: exit winfs once acme shuts down the window --- acme/bin/source/win/win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme/bin/source/win/win.c b/acme/bin/source/win/win.c index 1fdd9bb9f..770b0e38c 100644 --- a/acme/bin/source/win/win.c +++ b/acme/bin/source/win/win.c @@ -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; }