def _recv_close(self, method_frame):
        self.channel._close_info = {
            'reply_code': method_frame.args.read_short(),
            'reply_text': method_frame.args.read_shortstr(),
            'class_id': method_frame.args.read_short(),
            'method_id': method_frame.args.read_short()
        }

        self.channel._closed = True
        self.channel._closed_cb(
            final_frame=MethodFrame(self.channel_id, 20, 41))
Stop everything that was started.
dataset/ETHPy150Open agoragames/haigha/haigha/classes/channel_class.py/ChannelClass._recv_close--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/test_init.py/TestComponentsCore.tearDown