fix race/endless loop on exit:
if gtk is going away while ardour updates the splash-screen: Gtk-CRITICAL **: IA__gtk_main_quit: assertion `main_loops != NULL' failed
This commit is contained in:
parent
4fea31fd78
commit
b28706852d
@ -236,7 +236,7 @@ Splash::message (const string& msg)
|
||||
}
|
||||
|
||||
while (!expose_done) {
|
||||
gtk_main_iteration ();
|
||||
if(gtk_main_iteration ()) return; // quit was called
|
||||
}
|
||||
gdk_display_flush (gdk_display_get_default());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user