def disconnect(self): try: self._disconnect(self) except: pmnc.log.error(exc_string()) # log and ignore finally: TransactionalResource.disconnect(self)
def disconnect(self): try: try: self._sync_adapter_command("EXIT") finally: self._stop_adapter(Timeout(min(5.0, pmnc.request.remain))) except: pmnc.log.error(exc_string()) # log and ignore finally: TransactionalResource.disconnect(self)
def disconnect(self): try: self._http_resource.disconnect() finally: TransactionalResource.disconnect(self)
def disconnect(self): try: self._socket.close() finally: TransactionalResource.disconnect()