quietly ignore deleted objects who call sendUpdate

This commit is contained in:
David Rose 2002-09-12 22:06:43 +00:00
parent 41dc24c1a4
commit 960722a457

View File

@ -410,10 +410,10 @@ class ClientRepository(DirectObject.DirectObject):
# Get the DO id # Get the DO id
doId = do.doId doId = do.doId
# Get the cdc # Get the cdc
assert(self.doId2cdc.has_key(doId)) cdc = self.doId2cdc.get(doId, None)
cdc = self.doId2cdc[doId] if cdc:
# Let the cdc finish the job # Let the cdc finish the job
cdc.sendUpdate(self, do, fieldName, args, sendToId) cdc.sendUpdate(self, do, fieldName, args, sendToId)
def send(self, datagram): def send(self, datagram):
if self.notify.getDebug(): if self.notify.getDebug():