fluttercommunity / fluttercommunity/arcgis_map_sdk
[web] Fix hot restart issues
Open
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
@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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.