def __del__(self):
        """Make sure the receiver is removed from the listener"""
        del MONGO_LISTENER.receivers[self._ns][self._receiver]
        super(ResourceNotificationSession, self).__del__()
def __del__ ( self ) : del MONGO_LISTENER . receivers [ self . _ns ] [ self . _receiver ] super ( ResourceNotificationSession , self ) . __del__ ( )
Make sure the receiver is removed from the listener