Make System.exit a non-op on mobile
This commit is contained in:
@@ -117,7 +117,7 @@ class System {
|
|||||||
|
|
||||||
public static function exit (code:Int):Void {
|
public static function exit (code:Int):Void {
|
||||||
|
|
||||||
#if sys
|
#if (sys && desktop)
|
||||||
#if !macro
|
#if !macro
|
||||||
if (Application.current != null) {
|
if (Application.current != null) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user