def disconnect(self, receipt=str(uuid.uuid4()), headers={}, **keyword_headers):
        Protocol12.disconnect(self, receipt, headers, **keyword_headers)
        self.transport.stop()
Call the protocol disconnection, and then stop the transport itself.
dataset/ETHPy150Open jasonrbriggs/stomp.py/stomp/connect.py/StompConnection12.disconnect