Fix use of CADisplayLink on iOS

This commit is contained in:
Joshua Granick
2016-09-15 13:05:40 -07:00
parent 5241f29f2c
commit 09f88c5145
3 changed files with 5 additions and 2 deletions

View File

@@ -134,7 +134,10 @@ class NativeApplication {
#elseif lime_cffi
var result = lime_application_exec (handle);
#if (!emscripten && !ios && !nodejs)
parent.onExit.dispatch (result);
#end
return result;

View File

@@ -87,7 +87,7 @@ namespace lime {
Init ();
#ifdef EMSCRIPTEN
#if defined(IPHONE) || defined(EMSCRIPTEN)
return 0;

View File

@@ -114,7 +114,7 @@ class ApplicationMain {
var result = app.exec ();
#if (sys && !nodejs && !emscripten)
#if (sys && !ios && !nodejs && !emscripten)
lime.system.System.exit (result);
#end