Skip to content
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

Windows close doesn't work in electron #462

Open
davidanthoff opened this issue Mar 15, 2020 · 1 comment
Open

Windows close doesn't work in electron #462

davidanthoff opened this issue Mar 15, 2020 · 1 comment

Comments

@davidanthoff
Copy link

I'm running the lyra2019 branch in an electron window and it works great. But if I click on the close button of the electron window, nothing happens, in particular, the window doesn't close.

Does lyra somehow hook into some close event and prevents closing from happening?

@jonathanzong
Copy link
Member

here's the problem line -- i recommend commenting it out for now to get your things working, and i think there can be a separate conversation later about whether this is useful for lyra

.on('beforeunload', beforeUnload);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants