upb_lib/upb.py
def disconnect(self):
        """Disconnect the connection from sending/receiving."""
        self._connection_retry_time = -1  # Stop from reconnecting automatically
        if self._connection:
            self._connection.close()
            self._connection = None
        if self._reconnect_task:
            self._reconnect_task.cancel()
            self._reconnect_task = None
Disconnect the connection from sending/receiving.
Disconnect the connection from sending/receiving.
Disconnect the connection from sending / receiving .
def disconnect(self):
        self._connection_retry_time = -1  
        if self._connection:
            self._connection.close()
            self._connection = None
        if self._reconnect_task:
            self._reconnect_task.cancel()
            self._reconnect_task = None
def disconnect ( self ) : self . _connection_retry_time = - 1 if self . _connection : self . _connection . close ( ) self . _connection = None if self . _reconnect_task : self . _reconnect_task . cancel ( ) self . _reconnect_task = None
Disconnect the connection from sending/receiving.
Disconnect the connection from sending / receiving .
"""Disconnect the connection from sending/receiving.""" # Stop from reconnecting automatically
self