-
Notifications
You must be signed in to change notification settings - Fork 29
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
love.event.quit() causes crash but doesn't close tab #70
Comments
You're free to call JS' |
Is there a way it doing that from within love2d? I feel like it'd make the most sense for love.event.quit() to call the window.close; function but I'm not sure how hard that would be to do. |
See #26 |
Got that working but window.close(); only works if the current tab was opened via the same script (eg using window.open();), so I guess there isn't really a way for love.js to implment the love.event.quite function properly |
This works for me on Opera GX, but not on Chrome:
|
Calling love.event.quit() or love.event.quit("restart") causes love.js to crash. Ideally it should close the tab similar to how native love2d closes the game window.
The text was updated successfully, but these errors were encountered: