File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 66
77- Fixed SentryLog.set_attribute() not working on Android ([ #438 ] ( https://github.com/getsentry/sentry-godot/pull/438 ) )
88- Fixed occasional crash on exit on Android ([ #439 ] ( https://github.com/getsentry/sentry-godot/pull/439 ) )
9+ - Initialize attributes dict in CocoaSDK::log unconditionally ([ #440 ] ( https://github.com/getsentry/sentry-godot/pull/440 ) )
910
1011### Dependencies
1112
Original file line number Diff line number Diff line change 109109
110110 String body = p_body;
111111
112- NSMutableDictionary *attributes = nil ;
113-
112+ NSMutableDictionary *attributes = [[NSMutableDictionary alloc ] initWithCapacity: p_attributes.size ()];
114113 if (!p_attributes.is_empty ()) {
115- attributes = [[NSMutableDictionary alloc ] initWithCapacity: p_attributes.size () + 1 ];
116-
117114 const Array &keys = p_attributes.keys ();
118115 for (int i = 0 ; i < keys.size (); i++) {
119116 const String &key = keys[i];
You can’t perform that action at this time.
0 commit comments