From ae84db1028ca96b7fd3b7a4af6564f86a1777b8a Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 21 Aug 2015 16:11:07 -0700 Subject: [PATCH] Make System.exit a non-op on mobile --- lime/system/System.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lime/system/System.hx b/lime/system/System.hx index 87802ca61..d8e85ecb4 100644 --- a/lime/system/System.hx +++ b/lime/system/System.hx @@ -117,7 +117,7 @@ class System { public static function exit (code:Int):Void { - #if sys + #if (sys && desktop) #if !macro if (Application.current != null) {