Skip to content

Instantly share code, notes, and snippets.

@Kureev
Last active September 27, 2016 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kureev/df556444a1ca23c8d9e45c35f5800c67 to your computer and use it in GitHub Desktop.
Save Kureev/df556444a1ca23c8d9e45c35f5800c67 to your computer and use it in GitHub Desktop.
- (void)runJSVMThread {
[[[ChakraProxy alloc] init] run];
NSRunLoop *runloop = [NSRunLoop currentRunLoop];
while (true) {
[runloop runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment