Support webglcontextlost

Hello sometimes my game loses webgl context and crashes.
How can I fix this improvement? Destroy the game, clean canvas, html?
How do you deal with it?
How can I force webgl to lose context and test solutions?
I will be grateful for your help

1 Like