Do it like so:
this.renderer.dispose();
this.renderer.forceContextLoss();
forceContextLoss()
is not automatically called in dispose()
because of certain compatibility issues with existing apps. More information in this PR: Revert "Force context loss in renderer.dispose" by mrdoob · Pull Request #19022 · mrdoob/three.js · GitHub