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

[web] Fix hot restart issues #17

Open
MatthaiosSait opened this issue Oct 21, 2022 · 1 comment
Open

[web] Fix hot restart issues #17

MatthaiosSait opened this issue Oct 21, 2022 · 1 comment
Milestone

Comments

@MatthaiosSait
Copy link
Collaborator

MatthaiosSait commented Oct 21, 2022

@JulianBissekkou
The problem:

When doing a hot restart, there comes an error in the console,
WARNING: Too many active WebGL contexts. Oldest context will be lost., and
WebGL: INVALID_OPERATION: delete: object does not belong to this context.

Also, this happens when you open multiple Map instances. You can test it by navigating back and forth to a new map instance. After about 8 times the same error will occur and the map will crash.

The second use case is in my opinion more important than the hot restart use case.

@passsy passsy added this to the Release 1.0 milestone Dec 13, 2022
@MatthaiosSait
Copy link
Collaborator Author

With flutter/flutter#124334, they will be fixed once and for all. Until, then, an intermediate fix will be provided.

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

No branches or pull requests

2 participants