mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
close down when x11 splash is closed
This commit is contained in:
parent
fcf4210d9d
commit
0a6881430f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user