Updates from Mon 18 May

This commit is contained in:
Alexsander Akers 2015-05-18 16:29:47 +01:00
commit 7219fcefc6
3 changed files with 4 additions and 3 deletions

View File

@ -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);
}];
}

View File

@ -68,7 +68,7 @@
"yargs": "1.3.2"
},
"devDependencies": {
"jest-cli": "0.4.3",
"jest-cli": "0.4.5",
"eslint": "0.9.2"
}
}

View File

@ -25,7 +25,7 @@
},
"dependencies": {},
"devDependencies": {
"jest-cli": "0.4.3",
"jest-cli": "0.4.5",
"eslint": "0.9.2"
}
}