]> git.lizzy.rs Git - plan9front.git/commitdiff
acme/win: exit winfs once acme shuts down the window
authorcinap_lenrek <cinap_lenrek@felloff.net>
Fri, 24 Apr 2020 19:15:59 +0000 (21:15 +0200)
committercinap_lenrek <cinap_lenrek@felloff.net>
Fri, 24 Apr 2020 19:15:59 +0000 (21:15 +0200)
acme/bin/source/win/win.c

index 1fdd9bb9ff650af9fc2995ada6e7dc6c2ead269a..770b0e38c046358a0142806ec80b65ecd0c96917 100644 (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;
        }