Skip to content

Commit c3fece5

Browse files
authored
chore: Remove unused singleton for SentryNSProcessInfoWrapper (#5463)
1 parent 5258fb8 commit c3fece5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Sources/Sentry/SentryNSProcessInfoWrapper.mm

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ - (instancetype)init
2222
# define SENTRY_BINARY_EXECUTABLE_PATH NSBundle.mainBundle.executablePath;
2323
#endif // defined(SENTRY_TEST) || defined(SENTRY_TEST_CI) || defined(DEBUG)
2424

25-
+ (SentryNSProcessInfoWrapper *)shared
26-
{
27-
static SentryNSProcessInfoWrapper *instance = nil;
28-
static dispatch_once_t onceToken;
29-
dispatch_once(&onceToken, ^{ instance = [[self alloc] init]; });
30-
return instance;
31-
}
32-
3325
- (NSString *)processDirectoryPath
3426
{
3527
return NSBundle.mainBundle.bundlePath;

0 commit comments

Comments
 (0)