Skip to content

Fix: Release event listeners for WebGLWindow to prevent page hang dur…#171

Merged
kou-yeung merged 1 commit intokou-yeung:masterfrom
zhipeng515:master
Dec 29, 2024
Merged

Fix: Release event listeners for WebGLWindow to prevent page hang dur…#171
kou-yeung merged 1 commit intokou-yeung:masterfrom
zhipeng515:master

Conversation

@zhipeng515
Copy link
Copy Markdown
Contributor

  • Fixed an issue where WebGLWindow event listeners (such as focus, blur, and resize) were not properly removed.
  • This issue caused the page to freeze when navigating away or going back, as the listeners were still active and blocking the process.
  • Now ensures that event listeners are correctly cleaned up during page unload.

@kou-yeung kou-yeung merged commit 9c819cb into kou-yeung:master Dec 29, 2024
@kou-yeung
Copy link
Copy Markdown
Owner

thanks @zhipeng515

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.

2 participants