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

Remove method on Viewer #321

Merged
merged 2 commits into from
Jan 13, 2021
Merged

Remove method on Viewer #321

merged 2 commits into from
Jan 13, 2021

Conversation

oscarlorentzon
Copy link
Member

Motivation

It should be possible to release all viewer resources when the application no longer needs the viewer

Contribution

  • remove method on Viewer class
  • Release all resources - WebGL, DOM, event bindings

Test Plan

yarn test

@oscarlorentzon oscarlorentzon merged commit d34b1f1 into master Jan 13, 2021
@oscarlorentzon oscarlorentzon deleted the feature-remove-viewer branch January 13, 2021 10:07
@oscarlorentzon oscarlorentzon added this to the 3.1.0 milestone Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants