From a2e589eb23cd61b77fa69a05c1934fc80d2b34af Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Fri, 26 May 2017 04:09:00 -0700 Subject: [PATCH] Cleanup initialization of native modules in FBReactModule Reviewed By: shergin Differential Revision: D5111768 fbshipit-source-id: 9ad682b51ad34516576b6403220bb7d2870e0192 --- React/Modules/RCTExceptionsManager.h | 2 ++ React/Modules/RCTExceptionsManager.m | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/React/Modules/RCTExceptionsManager.h b/React/Modules/RCTExceptionsManager.h index 684adc140..393d591b2 100644 --- a/React/Modules/RCTExceptionsManager.h +++ b/React/Modules/RCTExceptionsManager.h @@ -25,6 +25,8 @@ - (instancetype)initWithDelegate:(id)delegate; +@property (nonatomic, weak) id delegate; + @property (nonatomic, assign) NSUInteger maxReloadAttempts; @end diff --git a/React/Modules/RCTExceptionsManager.m b/React/Modules/RCTExceptionsManager.m index 55048e6c0..3bb2a1d66 100644 --- a/React/Modules/RCTExceptionsManager.m +++ b/React/Modules/RCTExceptionsManager.m @@ -16,9 +16,6 @@ #import "RCTRootView.h" @implementation RCTExceptionsManager -{ - __weak id _delegate; -} @synthesize bridge = _bridge;