From 3f60475529e2ebed092aa434e7e81111efcdefba Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Tue, 22 Nov 2022 14:44:47 +0100 Subject: [PATCH] ref: Fix typos in OOMTracker --- Sources/Sentry/SentryOutOfMemoryTracker.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Sentry/SentryOutOfMemoryTracker.m b/Sources/Sentry/SentryOutOfMemoryTracker.m index 3d309d0f38a..c241e28f9fe 100644 --- a/Sources/Sentry/SentryOutOfMemoryTracker.m +++ b/Sources/Sentry/SentryOutOfMemoryTracker.m @@ -60,7 +60,7 @@ - (void)start // Set to empty list so no breadcrumbs of the current scope are added event.breadcrumbs = @[]; - // Load the previous breascrumbs from disk, which are already serialized + // Load the previous breadcrumbs from disk, which are already serialized event.serializedBreadcrumbs = [self.fileManager readPreviousBreadcrumbs]; if (event.serializedBreadcrumbs.count > self.options.maxBreadcrumbs) { event.serializedBreadcrumbs = [event.serializedBreadcrumbs @@ -84,7 +84,7 @@ - (void)start exception.mechanism = mechanism; event.exceptions = @[ exception ]; - // We don't need to upate the releaseName of the event to the previous app state as we + // We don't need to update the releaseName of the event to the previous app state as we // assume it's not an OOM when the releaseName changed between app starts. [SentrySDK captureCrashEvent:event]; }