I am facing an issue with the loss and restoration of webgl context.
My application is quite complex, containing a lot of data, graphs, lists, and maps.
Within the map section, I utilize webGL to ensure optimal performance. My code effectively manages the context lost and restored situations.
However, when initiating a large operation that involves loading data from the server and parsing it, sometimes the browser loses the webgl context. The challenge lies in the fact that the context is not always restored. It only seems to be restored upon repeating the same extensive operation.
From my perspective, this issue may be related to memory management and the timing of garbage collection.
Despite this awareness, I am uncertain about the steps to take in order to resolve this matter.