Android - Exit/Stop App?

So after I upgraded to the newest version of lime/openfl, I noticed my app was crashing when I exited via the “back button” on my android device. Before, it was working just fine. All it calls is…

event.stopImmediatePropagation();
Lib.exit();

Is this a bug? Or is there perhaps a new way to do this now?

You aren’t supposed to close the app yourself. As long as you don’t call stopImmediatePropagation(), Android will minimize it for you.

Whoops, was actually an unrelated issue with my code, sorry about that. Thanks for the feedback anyways.