Skip to content

Commit cec6650

Browse files
committed
add missing telemetry event stop
1 parent fce2d5e commit cec6650

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

IdentityCore/src/cache/accessor/MSIDDefaultTokenCacheAccessor.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ - (BOOL)clearCacheForAccount:(MSIDAccountIdentifier *)account
330330

331331
if (!result)
332332
{
333+
[self stopCacheEvent:event withItem:nil success:NO context:context];
333334
return NO;
334335
}
335336

IdentityCore/tests/integration/MSIDLegacyAccessorSSOIntegrationTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2048,7 +2048,7 @@ - (void)testClearCacheForAccount_whenTokensInCache_shouldRemoveCorrectTokens
20482048
additionalFields:nil
20492049
accessor:_nonSSOAccessor];
20502050

2051-
// Save first token
2051+
// Save second token
20522052
[self saveResponseWithUPN:@"[email protected]"
20532053
clientId:@"test_client_id"
20542054
authority:@"https://login.windows.net/common"

0 commit comments

Comments
 (0)