13
0

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:
Robin Gareus 2013-07-04 21:32:41 +02:00
parent 4fea31fd78
commit b28706852d

View File

@ -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());
}