GApplication: let the main loop drain on shutdown
authorRyan Lortie <desrt@desrt.ca>
Sat, 21 Feb 2015 15:24:23 +0000 (10:24 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 23 Feb 2015 00:14:03 +0000 (19:14 -0500)
commit2844f239f60cab6e549102d7cdc3cf0333076cbe
tree4951849f9a65b514454cb26f941f623c8ebd176e
parent9cee2e6a72bb06f7483442ab364910879c512e39
GApplication: let the main loop drain on shutdown

After ::shutdown, run the mainloop until all pending activity is
handled, before returning from run().

Among other things, this gives a chance for destroyed windows to be
properly withdrawn from the windowing system.

https://bugzilla.gnome.org/show_bug.cgi?id=744876
gio/gapplication.c