Destroy the BusServer during exit.
authorPeng Huang <shawn.p.huang@gmail.com>
Thu, 30 Apr 2009 07:43:50 +0000 (15:43 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Thu, 30 Apr 2009 07:43:50 +0000 (15:43 +0800)
bus/ibusimpl.c

index 814e831..9baf74f 100644 (file)
@@ -1056,7 +1056,7 @@ _ibus_exit (BusIBusImpl     *ibus,
     ibus_connection_flush ((IBusConnection *) connection);
     ibus_message_unref (reply);
 
-    ibus_object_destroy ((IBusObject *) ibus);
+    ibus_object_destroy ((IBusObject *) BUS_DEFAULT_SERVER);
 
     if (!restart) {
         exit (0);