-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report: Title Screen Sys.exit(0) Halting Issue #3196
Comments
Confirmed. |
Now that I think about it, this might be happening because of the crash handler system or whateva' they got goin' on, since thrown exceptions in the 0.5.0 update; (for example, a null obj ref exception inheriting from a scripted/module file) no longer causes the game to close, instead they cause the game to halt. Note that some thrown errors aren't fatal, and won't cause the game to close immediately after an error inherits from a scripted/module file, i used the null obj ref exception as an example, because that IS a FATAL thrown error/exception. Which means the game instance itself would have to close down because it wouldn't be able to continue processing! So deriving from this info, the game instance probably just can't seem to close from something that came with the new source code preventing it. Edit: Actually, it might be lime's fault... |
still happens in 0.5.1, very sad |
I knew it, it's an issue with Lime: openfl/lime#1803 |
Is this a Windows-only issue? I can't reproduce this one on macOS. |
I can't reproduce it on Linux either so I believe so. |
Does this still happen in 0.5.2? Specially when crashing too |
nope on my part! |
Yay, pressing escape on the title screen now exits instantly! |
While this bug has been solved in Funkin' using a workaround (0d60929) the underlying issue on Lime has been resolved too: openfl/lime@6a40998 which means Funkin's Lime repo can just be fast-forwarded. Also I think this should be closed since, well, it's been resolved. |
Alrighty then, I'll be closing the issue if it's been resolved, thanks! |
Issue Checklist
What platform are you using?
Itch.io (Downloadable Build) - Windows
If you are playing on a browser, which one are you using?
None
Version
0.5.0
Context (Provide images, videos, etc.)
The Title Screen itself can halt after pressing the
ESCAPE
Key to exit the game by calling theSys.exit(0)
method, but it instead just proceeds to halt the entire game itself; without exiting/closing the window instance.Steps to reproduce (or crash logs, errors, etc.)
TitleState.hx => Press ESCAPE: The re-production method.
The text was updated successfully, but these errors were encountered: