File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 55### Fixes
66
77- Ensure the current GPU frame rate is always reported for concurrent transaction profiling metrics (#2929 )
8+ - Possible crash in Core Data tracking (#2865 )
89
910## 8.5.0
1011
Original file line number Diff line number Diff line change 99#import " SentrySDK+Private.h"
1010#import " SentryScope+Private.h"
1111#import " SentrySpanProtocol.h"
12+ @import SentryPrivate;
1213#import " SentryStacktrace.h"
1314#import " SentryThreadInspector.h"
1415
@@ -172,8 +173,9 @@ - (NSString *)descriptionForOperations:
172173{
173174 NSMutableDictionary <NSString *, NSNumber *> *result = [NSMutableDictionary new ];
174175
175- for (NSManagedObject *item in entities) {
176- NSString *cl = item.entity .name ;
176+ for (id item in entities) {
177+ NSString *cl
178+ = ((NSManagedObject *)item).entity .name ?: [SwiftDescriptor getObjectClassName: item];
177179 NSNumber *count = result[cl];
178180 result[cl] = [NSNumber numberWithInt: count.intValue + 1 ];
179181 }
You can’t perform that action at this time.
0 commit comments