-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I think something is not quite right with how the regl context is created/destroyed. To see this, if you open the demo and then repeatedly toggle the theme, you'll eventually see a warning that "too many WebGL contexts have been created". Indeed, this context creation step is getting called over and over, which would be fine if we were destroying the context previously, which I thought we were here?
Might be interesting for @katamartin to look at this, as I copied the same pattern we had in @carbonplan/maps, so I'm now wondering if the same thing is happening there?
Not sure how to fix, and this doesn't affect functionality, but surely at some point will affect performance, so would be good to track down.
Metadata
Metadata
Assignees
Labels
No labels