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

Revert "Force context loss in renderer.dispose" #19022

Merged
merged 1 commit into from Apr 3, 2020
Merged

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Apr 3, 2020

Reverts #17588

@mrdoob mrdoob added this to the r116 milestone Apr 3, 2020
@mrdoob mrdoob merged commit b4d971e into dev Apr 3, 2020
@mrdoob mrdoob deleted the revert-17588-patch-1 branch April 3, 2020 06:35
@kenrussell
Copy link

Out of curiosity @mrdoob what use cases did this break, so we can watch out for them going forward?

@mrdoob
Copy link
Owner Author

mrdoob commented Apr 3, 2020

It was not related to WebGL itself...

The Editor has a second renderer used as player and I was disposing memory between runs. The new line in dispose() also removed the context so users started to report that they couldn't play twice.

d540bbf

Repository owner deleted a comment from weihexin Apr 4, 2020
Repository owner deleted a comment from weihexin Apr 4, 2020
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.

None yet

2 participants