@@ -251,8 +251,7 @@ class DistributedObject(DistributedObjectBase):
self.__callbacks = {}
if self.cr:
self.cr.closeAutoInterests(self)
- self.setLocation(0,0)
- if self.cr:
+ self.setLocation(0,0)
self.cr.deleteObjectLocation(self, self.parentId, self.zoneId)
def _destroyDO(self):