close method

Future<void> close()

Closes connection to the Session Manager service.

Implementation

Future<void> close() async {
  await _propertySubscription?.cancel();
  _propertySubscription = null;
  if (_bus == null) {
    await _object.client.close();
  }
}