Minimizing an OpenFL app in cpp Windows with resizable = false causes it to "die"?

Here is a code snippet to demonstrate the problem:


import lime.ui.Window;
import openfl.display.Sprite;

class Main extends Sprite
	public var win:Window;

	public function new()
		win = Application.current.window;
		win.maximized = true;

	public function on_max():Void
		win.resizable = false;

When I minimize this app’s window with winkey + D the app dies.

I didn’t get a crash but I did notice the application would not come back

This is a workaround in Lime that fixed the issue for me:

Thank you for the sample :slight_smile: