Пример #1
0
 def connectionLost(self, reason):
     XMPPHandler.connectionLost(self, reason)
     # stop pinger
     if self.pinger:
         self.pinger.cancel()
     # stop ping timeout
     if self.ping_timeout:
         self.ping_timeout.cancel()
Пример #2
0
 def connectionLost(self, reason):
     XMPPHandler.connectionLost(self, reason)
     # stop pinger
     if self.pinger:
         self.pinger.cancel()
     # stop ping timeout
     if self.ping_timeout:
         self.ping_timeout.cancel()
Пример #3
0
    def connectionLost(self, reason):
        XMPPHandler.connectionLost(self, reason)

        # cleanup
        self.post_handlers = None
Пример #4
0
    def connectionLost(self, reason):
        XMPPHandler.connectionLost(self, reason)

        # cleanup
        self.post_handlers = None