Skip to content
Snippets Groups Projects

fix: properly release canvas/gl contexts when component unmounts

Merged Dennis Collaris requested to merge fix/pixi-dispose-contexts into main

This fixes an issue that after reloading pixi-based visualizations for more than 16 times, the browser throws warnings.

Took a bit longer, matrixvis needed to be refactored a bit (app using useMemo instead of a global var, and subsequent changes), otherwise app would not even exist at the point of unmounting, hence no destroy method can be called. All done now though :slight_smile:

Edited by Dennis Collaris

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading