react-native-macos/React/CxxBridge
Kevin Gozali 8662d9d3b0 TM iOS: Added backward-compatible ObjC invalidation logic
Summary:
Some ObjC NativeModules conform to `RCTInvalidating` protocol and implements `invalidate` method. This is typically used to clean things up during bridge teardown or reload. In TurboModule system the invalidate method can be replaced by pure destructors, but for backward compatibility, we call existing invalidate method on each module during teardown.

This also cleans up all existing LongLivedObject's.

Reviewed By: mdvacca, RSNara

Differential Revision: D15365655

fbshipit-source-id: 802844b39b5b7adb54970ea541f4d744bbf9e480
2019-05-15 17:36:05 -07:00
..
JSCExecutorFactory.h Make JSCExecutorFactory accessible from outside 2019-01-16 10:47:44 -08:00
JSCExecutorFactory.mm Refactor JSIExecutor to use runtimeInstaller for injecting the logger instance 2019-03-25 09:12:11 -07:00
NSDataBigString.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
NSDataBigString.mm Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTCxxBridge.mm TM iOS: Added backward-compatible ObjC invalidation logic 2019-05-15 17:36:05 -07:00
RCTCxxBridgeDelegate.h iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
RCTMessageThread.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTMessageThread.mm iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
RCTObjcExecutor.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTObjcExecutor.mm Fix 50 xcode warnings (#23553) 2019-02-20 10:17:26 -08:00