Skip to content

Commit

Permalink
hub passes 'GlobalSessionManager' to client
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes committed Nov 23, 2023
1 parent af2b9f5 commit c62a5a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Sentry/Internal/Hub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ internal Hub(

_options = options;
_randomValuesFactory = randomValuesFactory ?? new SynchronizedRandomValuesFactory();
_ownedClient = client ?? new SentryClient(options, randomValuesFactory: _randomValuesFactory);
_clock = clock ?? SystemClock.Clock;
_sessionManager = sessionManager ?? new GlobalSessionManager(options);
_ownedClient = client ?? new SentryClient(options, randomValuesFactory: _randomValuesFactory, sessionManager: _sessionManager);
_clock = clock ?? SystemClock.Clock;

ScopeManager = scopeManager ?? new SentryScopeManager(options, _ownedClient);

Expand Down

0 comments on commit c62a5a6

Please sign in to comment.