Fixed a strongSelf that was accidentally marked as __weak

This commit is contained in:
Nick Lockwood
2015-08-11 04:15:59 -07:00
parent 68f1a223fb
commit f5d8e4d6e0
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {