close down when x11 splash is closed

This commit is contained in:
David Rose 2009-10-14 22:03:17 +00:00
parent fcf4210d9d
commit 0a6881430f

View File

@ -439,7 +439,10 @@ rt_thread_run() {
while (true) {
TiXmlDocument *doc = read_xml(_pipe_read, nout);
if (doc == NULL) {
// Some error on reading.
// Some error on reading. The splash window must have gone
// away, e.g. because the user explicitly closed it; tell the
// instance to exit.
_inst->request_stop_sub_thread();
return;
}