Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Plain Text by Ajay Garg ( 14 years ago )
def __connection_ready_cb(self, connection):
# http://bugs.sugarlabs.org/ticket/3326
#
# Daniel Drake has given a comprehensive description of the
# issue. So the fix is that, when the
# dangling-connection-object calls the "__connection_ready_cb",
# check to see if it is the same as the referenced
# "self._connection" object. If not, simply return; this would
# have the following consequences ::
#
# (i)
# not connect any more signals to the
# dangling-connection-object.
#
# (ii)
# the dangling-connection-object would finally be
# garbage-collected.
if connection != self._connection:
return
Revise this Paste