Merge pull request #1327 from a2/Update_Mon_18_May
Updates from Mon 18 May
This commit is contained in:
commit
f2ffaed4ca
|
@ -1182,6 +1182,7 @@ RCT_INNER_BRIDGE_ONLY(_invokeAndProcessModule:(NSString *)module method:(NSStrin
|
|||
}
|
||||
|
||||
void (^mainThreadInvalidate)(void) = ^{
|
||||
RCTAssertMainThread();
|
||||
|
||||
[_mainDisplayLink invalidate];
|
||||
_mainDisplayLink = nil;
|
||||
|
@ -1221,7 +1222,7 @@ RCT_INNER_BRIDGE_ONLY(_invokeAndProcessModule:(NSString *)module method:(NSStrin
|
|||
/**
|
||||
* Main Thread deallocations
|
||||
*/
|
||||
mainThreadInvalidate();
|
||||
dispatch_async(dispatch_get_main_queue(), mainThreadInvalidate);
|
||||
|
||||
}];
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
"yargs": "1.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jest-cli": "0.4.3",
|
||||
"jest-cli": "0.4.5",
|
||||
"eslint": "0.9.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"jest-cli": "0.4.3",
|
||||
"jest-cli": "0.4.5",
|
||||
"eslint": "0.9.2"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue