Commit 47e4658d authored by crvi's avatar crvi

rhythmbox-client: flush dbus connection to send the 'quit' message before process exit

This was an issue in single core / uniprocessor / VMs, where
rhythmbox-client process exits due to 'exit()' call, before the 'quit'
message is sent to the rhythmbox instance.

Also refer: glib#2284
parent 889958a1
......@@ -1165,6 +1165,7 @@ main (int argc, char **argv)
if (quit) {
rb_debug ("quitting existing instance");
g_action_group_activate_action (G_ACTION_GROUP (app), "quit", NULL);
g_dbus_connection_flush_sync (bus, NULL, NULL);
exit (0);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment