git: 9front

Download patch

ref: fd161650cb16692ac33816c2c3c90c81f4e6318c
parent: ea21002e850d572ab47e8ec478b150cf245a2d41
author: Jacob Moody <moody@posixcafe.org>
date: Mon Oct 10 22:08:34 EDT 2022

rio: close the display on the way out

This restores the window image when exiting a subrio.

--- a/sys/src/cmd/rio/rio.c
+++ b/sys/src/cmd/rio/rio.c
@@ -233,6 +233,7 @@
 		recv(exitchan, nil);
 	}
 	killprocs();
+	closedisplay(display);
 	threadexitsall(nil);
 }
 
--