File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ - (void)swizzleInvokeWithBridge:(Class)class {
253253 for (id param in arguments) {
254254 if ([param isKindOfClass: NSDictionary .class] && param[@" __sentry_stack" ]) {
255255 [_self.moduleMapping setValue: [NSString stringWithFormat: @" %@ " , [module class ]] forKey: [NSString stringWithFormat: @" %@ " , param[@" __sentry_moduleID" ]]];
256- [RNSentryEventEmitter emitModuleTableUpdate: _self.moduleMapping];
256+ [RNSentryEventEmitter emitModuleTableUpdate: _self.moduleMapping.mutableCopy ];
257257 [[NSUserDefaults standardUserDefaults ] setObject: [NSNumber numberWithUnsignedInteger: callNativeModuleAddress] forKey: @" RNSentry.__sentry_address" ];
258258 [[NSUserDefaults standardUserDefaults ] setObject: [RCTConvert NSString: param[@" __sentry_stack" ]] forKey: @" RNSentry.__sentry_stack" ];
259259 [[NSUserDefaults standardUserDefaults ] synchronize ];
You can’t perform that action at this time.
0 commit comments