fix for logout while on ship

This commit is contained in:
Samir Naik 2006-05-04 21:55:45 +00:00
parent 4af853d9e8
commit 3aa590e20e

View File

@ -89,6 +89,11 @@ class DistributedCartesianGrid(DistributedNode, CartesianGridBase):
removeEvent = None
self.cr.removeInterest(self.gridVisContext, removeEvent)
self.gridVisContext = None
else:
# if we were given an event but we have not interest open,
# just send the event right away
if event is not None:
messenger.send(event)
self.visAvatar = None
self.visZone = None