[ReactNative] Remove bridge retaining cycles

This commit is contained in:
Tadeu Zagallo
2015-04-07 19:18:41 -07:00
parent 72390239be
commit 6854da9b86
7 changed files with 52 additions and 38 deletions

View File

@@ -28,7 +28,7 @@ typedef void (^RCTViewManagerUIBlock)(RCTUIManager *uiManager, RCTSparseArray *v
* allowing the manager (or the views that it manages) to manipulate the view
* hierarchy and send events back to the JS context.
*/
@property (nonatomic, strong) RCTBridge *bridge;
@property (nonatomic, weak) RCTBridge *bridge;
/**
* The module name exposed to React JS. If omitted, this will be inferred