this repros on HL, but I have seen in cpp as well in another project. I expect this will do the same.
I just used the HelloWorld sample and added a key up test for the ESCAPE key:
public override function onKeyUp(key:KeyCode, modifier:KeyModifier):Void {
switch (key) {
case ESCAPE:
Sys.exit(0);
default:
};
}
build and run the program.
Monitor it from MS ProcessExplorer
Pop up the process specific window and watch the Threads tab.
Once it renders hit the ESCAPE key.
It will kill off all but the main program thread.
If you check the stack from this thread you'll see something very like:
Haxe 4.3.4 lime 8.2.0-Dev from https://github.com/openfl/lime/actions/runs/9472284613 HL 1.14. Windows 10
this repros on HL, but I have seen in cpp as well in another project. I expect this will do the same.
I just used the HelloWorld sample and added a key up test for the ESCAPE key:
build and run the program. Monitor it from MS ProcessExplorer Pop up the process specific window and watch the Threads tab. Once it renders hit the ESCAPE key. It will kill off all but the main program thread. If you check the stack from this thread you'll see something very like: