react-native/React/CxxModule
Alex Dvornikov d07279c978 Remove usage of "this" in a callback in RCTNativeModule
Summary: As RCTNativeModule can be destructed at any time, it's unsafe to capture "this" in a callback.

Reviewed By: javache

Differential Revision: D5963728

fbshipit-source-id: c80a01c851d97813e4fead2b31c442eaeb8ae204
2017-10-04 06:00:09 -07:00
..
DispatchMessageQueueThread.h Improve RCTCxxBridge invalidation 2017-09-11 04:30:31 -07:00
RCTCxxMethod.h move C++ bridge into oss directory 2017-02-01 14:14:32 -08:00
RCTCxxMethod.mm Fix format specifier used in RCTCxxMethod 2017-08-08 11:55:17 -07:00
RCTCxxModule.h Use forward declaration in RCTCxxModule 2017-04-07 09:30:33 -07:00
RCTCxxModule.mm Allow native modules to customize the main-thread init behaviour 2017-08-07 07:04:36 -07:00
RCTCxxUtils.h Specialize JSCValueEncoder for id instead of NSArray 2017-08-07 06:45:34 -07:00
RCTCxxUtils.mm Replace -[RCTConvert folly_dynamic:] with direct calls to convertIdToFollyDynamic 2017-07-10 05:31:04 -07:00
RCTNativeModule.h Remove usage of "this" in a callback in RCTNativeModule 2017-10-04 06:00:09 -07:00
RCTNativeModule.mm Remove usage of "this" in a callback in RCTNativeModule 2017-10-04 06:00:09 -07:00