Skip to content

Commit b287068

Browse files
committed
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
1 parent 4fea31f commit b287068

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gtk2_ardour/splash.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Splash::message (const string& msg)
236236
}
237237

238238
while (!expose_done) {
239-
gtk_main_iteration ();
239+
if(gtk_main_iteration ()) return; // quit was called
240240
}
241241
gdk_display_flush (gdk_display_get_default());
242242
}

0 commit comments

Comments
 (0)