close method

  1. @override
FutureOr<void> close()

NoOp by default : only closeable integrations need to override

Implementation

@override
FutureOr<void> close() async {
  if (_breadcrumbLogger != null) {
    if (Database.log.custom == _breadcrumbLogger) {
      Database.log.custom = null;
    }
    _breadcrumbLogger = null;
  }

  final tracingDelegate = _tracingDelegate;
  if (tracingDelegate != null) {
    await TracingDelegate.uninstall(tracingDelegate);
    _tracingDelegate = null;
  }
}