def shutdown(self):
        for nid in (self.channels_in | self.channels_out):
            yield SigDisconnect, (IN if nid in self.channels_in else OUT), nid
            yield FLUSH(self, nid)
        self.channels_in = self.channels_out = None

    # private:
dataset/ETHPy150Open eallik/spinoff/spinoff/remoting/hublogic.py/HubLogic.shutdown/original