Browse Source

This patch should mitigate the bug 615 for Acme, but the error is still present in Harvey, this is only a way to recover the shell after exit from Acme (#810)

Signed-off-by: fuchicar <rafita.fernandez@gmail.com>
Rafa 6 years ago
parent
commit
99d7a2b84a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      sys/src/cmd/acme/acme.c

+ 3 - 0
sys/src/cmd/acme/acme.c

@@ -237,6 +237,9 @@ threadmain(int argc, char *argv[])
 
 	threadnotify(shutdown, 1);
 	recvul(cexit);
+	closekeyboard(keyboardctl);
+	closemouse(mousectl);
+	closedisplay(display);
 	killprocs();
 	threadexitsall(nil);
 }