Skip to content

Commit

Permalink
add visibleForTesting
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor committed Mar 1, 2024
1 parent 6ed7700 commit 2f8a47d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ class NativeAppStartIntegration extends Integration<SentryFlutterOptions> {
return _appStartCompleter.future;
}

@internal
@visibleForTesting
static void clearAppStartInfo() {
_appStartInfo = null;
if (_appStartCompleter.isCompleted) {
_appStartCompleter = Completer<AppStartInfo?>();
}
_appStartCompleter = Completer<AppStartInfo?>();
}

@override
Expand Down

0 comments on commit 2f8a47d

Please sign in to comment.