To get a certain value, I occasionally need to draw on the canvas, and then analyze this canvas pixel-by-pixel. In this case, the canvas is never inserted into the document. Those. I work with it as a buffer. Every time I create a new canvas (this happens relatively infrequently), and I don’t show that I don’t need it anymore. Is this use of canvas correct in a web application and will there not be memory leaks?

    1 answer 1

    Sometimes you have to use it in the same way. It seems to be a strong problem is not noticed. In any case, you can use the profiling tools in the browser and believe