def disconnect(self):
# Prevent command to be stuck while waiting response
try:
self._action_queue.put_nowait(Event())
except gevent.queue.Full:
pass
self.log.debug('Releasing Connection ...')
super(PlivoOutboundEventSocket, self).disconnect()
self.log.debug('Releasing Connection Done')
评论列表
文章目录