def connectionLost(self, *args, **kwargs):
    _id = self.id
    if self.id in self.users:
      del self.users[self.id]
    self.onDisconnect()
dataset/ETHPy150Open tuxlinuxien/TwistedWebsocket/TwistedWebsocket/server.py/Protocol.connectionLost/original