- Home /
How can I manage reopening the WebGL player on a single page without refresh?
I have a page, It runs on angular and in several occasion I need to let user close the player and open it again (with different options). I tried to do so by using $modal, where I have custom directive with WebGL as a template. Problem is it runs only once after each refresh, and sometimes it runs out of memory and I need to restart browser. When I try to open it again I get several different errors like. Out of memmory, unknown error, aborting error , some uncaugth type errors etc. or browser crashes. Is it because of not proper cleaning the allocated memory of browser ? or how would you proceed in similar situation. Thank you.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613200909im_/https://answers.unity.com/themes/thub/images/avi.jpg)