webthing/thing.py
def remove_subscriber(self, ws):
        """
        Remove a websocket subscriber.

        ws -- the websocket
        """
        if ws in self.subscribers:
            self.subscribers.remove(ws)

        for name in self.available_events:
            self.remove_event_subscriber(name, ws)
def remove_subscriber(self, ws):
        if ws in self.subscribers:
            self.subscribers.remove(ws)

        for name in self.available_events:
            self.remove_event_subscriber(name, ws)
def remove_subscriber ( self , ws ) : if ws in self . subscribers : self . subscribers . remove ( ws ) for name in self . available_events : self . remove_event_subscriber ( name , ws )
Remove a websocket subscriber.

        ws -- the websocket
Remove a websocket subscriber .