Commit 91c5f793 by Sebastián Katzer

Execute ready on iOS async

parent fd613254
...@@ -72,11 +72,12 @@ ...@@ -72,11 +72,12 @@
{ {
deviceready = YES; deviceready = YES;
for (NSString* js in eventQueue) { [self.commandDelegate runInBackground:^{
[self.commandDelegate evalJs:js]; for (NSString* js in eventQueue) {
} [self.commandDelegate evalJs:js];
}
[eventQueue removeAllObjects]; [eventQueue removeAllObjects];
}];
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment