Memory Leak when switching patches with texture output



i stumbled over this nifty issue. The attached patch increases memory in a reproducible manner.

I think the issue has something to do with (dx11)textures which maybe don’t get disposed in that case - if you disconnect the preview for example, the memory increasing stops.

Maybe @vux has an idea where to investigate?

MemLeak.7z (2.9 KB)

DX11 Effect - Memory Leak

Maybe it’s better (= more likely to get it fixed by vux) to create an issue on github?