I implement a function that uses the pinch zoom gesture with the landscape functionality
when I test this behavior, zooming in/out and rotating the phone moving from portrait to landscape, the application crash, and the react native console does not show any information or error to debug what is happening. I ran the application in Xcode and I replicate the above process and xCode console show the following error:
` workletValueSetter@
@[native code]
CoreSimulator 857.7 - Device: iPhone 13 (79EC3549-CE88-47BC-A087-A44413A39A70) - Runtime: iOS 15.4 (19E240) - DeviceType: iPhone 13
2022-10-25 13:13:30.628274-0500 My Project[13003:284992] [connection] nw_socket_output_finished [C99.1:2] shutdown(38, SHUT_WR) [57: Socket is not connected]
dyld4 config: DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.4.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/admin/Library/Developer/Xcode/DerivedData/MyProject-egluemphrpslqigtpcqlhjbdarok/Build/Products/Debug-iphonesimulator:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.4.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/admin/Library/Developer/Xcode/DerivedData/MyProject-egluemphrpslqigtpcqlhjbdarok/Build/Products/Debug-iphonesimulator
terminating with uncaught exception of type facebook::jsi::JSError: Exception in HostObject::get(propName:_value): mutex lock failed: Invalid argument
workletValueSetter@
@[native code]
CoreSimulator 857.7 - Device: iPhone 13 (79EC3549-CE88-47BC-A087-A44413A39A70) - Runtime: iOS 15.4 (19E240) - DeviceType: iPhone 13
(lldb) `
that the application does not crash when I interact with the zoom in landscape and portrait mode