Skip to content

Commit

Permalink
ref: Use dispatch queue in dependency container (#2833)
Browse files Browse the repository at this point in the history
Avoid allocating one extra dispatch queue in the dependency container.
  • Loading branch information
philipphofmann authored Mar 24, 2023
1 parent fb53d97 commit cce35c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/Sentry/SentryDependencyContainer.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#import <SentryDebugImageProvider.h>
#import <SentryDefaultCurrentDateProvider.h>
#import <SentryDependencyContainer.h>
#import <SentryDispatchQueueWrapper.h>
#import <SentryHub.h>
#import <SentryNSNotificationCenterWrapper.h>
#import <SentrySDK+Private.h>
Expand Down Expand Up @@ -204,7 +203,7 @@ - (SentryANRTracker *)getANRTracker:(NSTimeInterval)timeout
initWithTimeoutInterval:timeout
currentDateProvider:[SentryDefaultCurrentDateProvider sharedInstance]
crashWrapper:self.crashWrapper
dispatchQueueWrapper:[[SentryDispatchQueueWrapper alloc] init]
dispatchQueueWrapper:self.dispatchQueueWrapper
threadWrapper:self.threadWrapper];
}
}
Expand Down

0 comments on commit cce35c6

Please sign in to comment.