Fix traceback on activity disconnect
This commit is contained in:
parent
fc5e077bdc
commit
8e7a72c9da
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user