WebGPU Buffers Refusing to Leave

I am working with a program that had several Compute and Texture Buffers. I decided to eliminate a few that weren’t necessary for my purposes. I removed the lines that created the buffers and any references to those buffers in the program, including wgsl shaders.

However, when I ran the revised program, I got several notices like this:

THREE.TSL: Input ‘xxxBuffer’ not found in ‘Fn()’.

Since I don’t believe in ghosts, I am guessing that what has happened is that the buffers (or the shaders that reference them) are somehow still occupying space in the GPU.memory. I have turned off and restarted my PC and I get the same error message. I tried loading and then disposing each of the buffers.

One factor that might be causing this is that the program uses a workgroup and that I need to do something special to make that workgroup go away. Or maybe, given the reference to Fn, maybe I need to find a way to get rid of the shaders that referenced the buffers.

Any suggestions?