mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
Fixed a strongSelf that was accidentally marked as __weak
This commit is contained in:
@@ -468,7 +468,7 @@ RCT_EXPORT_METHOD(reload)
|
||||
^(__unused NSData *data, NSURLResponse *response, NSError *error) {
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
__strong RCTDevMenu *strongSelf = weakSelf;
|
||||
RCTDevMenu *strongSelf = weakSelf;
|
||||
if (strongSelf && strongSelf->_liveReloadEnabled) {
|
||||
NSHTTPURLResponse *HTTPResponse = (NSHTTPURLResponse *)response;
|
||||
if (!error && HTTPResponse.statusCode == 205) {
|
||||
|
||||
Reference in New Issue
Block a user