예제 #1
0
    def connection_lost(self, exc):
        self.service.log.debug(f'Connection lost to client {self.channel}')
        OTPProtocol.connection_lost(self, exc)

        if self.avatar_id:
            self.delete_avatar_ram()

        self.service.remove_participant(self)
예제 #2
0
 def connection_lost(self, exc):
     OTPProtocol.connection_lost(self, exc)
     self.service.remove_participant(self)
     self.post_remove()
예제 #3
0
 def connection_lost(self, exc):
     OTPProtocol.connection_lost(self, exc)
     raise Exception('lost upsteam connection!', exc)