Skip to content

Use window destroy instead of forceClose#1400

Merged
esimkowitz merged 1 commit into
mainfrom
evan/window-destroy
Dec 6, 2024
Merged

Use window destroy instead of forceClose#1400
esimkowitz merged 1 commit into
mainfrom
evan/window-destroy

Conversation

@esimkowitz
Copy link
Copy Markdown
Contributor

@esimkowitz esimkowitz commented Dec 6, 2024

destroy bypasses the close event and forces the window to close. This means that we can use it instead of forceClose and we don't need to call it in the closed event.

@esimkowitz esimkowitz merged commit 1e804f4 into main Dec 6, 2024
@esimkowitz esimkowitz deleted the evan/window-destroy branch December 6, 2024 00:18
xxyy2024 pushed a commit to xxyy2024/waveterm_aipy that referenced this pull request Jun 24, 2025
`destroy` bypasses the `close` event and forces the window to close.
This means that we can use it instead of `forceClose` and we don't need
to call it in the `closed` event.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant