Is Lib.exit() missing on openfl update 2.1?

is Lib.exit() missing on openfl update 2.1?

If you use the native “_v2” path, this should still be available, only if you use Flash, HTML5 or native using the “-Dnext” define should it not be available. On native you should be able to use Sys.exit() instead if you need to

oh, I see. Lib.exit() not available if use import openfl.Lib. but it’s available if use import openfl._v2.Lib; Thanks for help :slight_smile:

When you import openfl.Lib, it will typedef to openfl._v2.Lib when appropriate. The call won’t show in code completion, but it should still compile