tty: Switch back to launch tty if we switched away
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 1f340b7..063feaa 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -780,6 +780,7 @@
 
 	weston_compositor_shutdown(ec);
 	gbm_device_destroy(d->gbm);
+	drmDropMaster(d->drm.fd);
 	tty_destroy(d->tty);
 
 	wl_list_for_each_safe(input, next, &ec->input_device_list, link)