commit a33ff2c

Michael Forney  ·  2014-12-24 20:41:46 +0000 UTC
parent 528abc9
launch: Kill child when swc-launch dies
1 files changed,  +2, -0
+2, -0
1@@ -136,6 +136,8 @@ static void cleanup()
2      * DRM device before the next session tries to claim it. */
3     stop_devices(false);
4     ioctl(launcher.tty_fd, VT_ACTIVATE, original_vt_state.vt);
5+
6+    kill(child_pid, SIGTERM);
7 }
8 
9 void __attribute__((noreturn,format(printf,1,2)))