Fix traceback on activity disconnect

This commit is contained in:
Dan Williams 2006-05-23 00:10:10 -04:00
parent fc5e077bdc
commit 8e7a72c9da

View File

@ -149,21 +149,17 @@ class Activity(dbus.service.Object):
self.__plug.destroy() self.__plug.destroy()
self.__plug = None self.__plug = None
self.__bus = None
self.__activity_container_object = None self.__activity_container_object = None
self.__activity_container = None self.__activity_container = None
self.__activity_object = None self.__activity_object = None
self.__service = None self.__service = None
self.__bus.remove_signal_receiver(self.name_owner_changed, dbus_interface = "org.freedesktop.DBus", signal_name = "NameOwnerChanged") self.__bus.remove_signal_receiver(self.name_owner_changed, dbus_interface = "org.freedesktop.DBus", signal_name = "NameOwnerChanged")
self.activity_on_disconnected_from_shell() self.activity_on_disconnected_from_shell()
self.__bus = None
del self del self
def __shutdown_error_cb(self, error): def __shutdown_error_cb(self, error):
print "in __error_cb" print "in __error_cb"