Game crashed if launched twice on Android

Godot Version



Hello everyone!

If I try to launch a game on Android and it has already been launched and minimized, it crashes. How can I avoid this problem?
Is there any way I can check if the game is already running and maximize it instead of running it again?