mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 22:02:24 -06:00
[GH-ISSUE #191] componentWillUnmount is not called #124
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @unlight on GitHub (Dec 30, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/191
I just written simple hello world application using proton native.
And I'm wondering why
componentWillUnmountis not called, when:QuitIs it by design?
I've pasted console.log in these methods.
componentDidMountis working fine.@kusti8 commented on GitHub (Feb 1, 2019):
When the main window is closed, then the libui loop is immediately stopped and as a result everything stops. There are callbacks, such as onShouldQuit for menu and onClose for window close. These should do the same things and be more clear than componentWillUnmount.
@kusti8 commented on GitHub (Jan 19, 2020):
Proton Native V2 is now released! If the issue still occurs in the new update, please open a new issue.