This change adds explicit buffer deletion whenever confirmation or input windows close in mcphub.nvim, cleaning up unused hidden buffers and plugging a minor memory leak. It streamlines the hidden-buffer list without altering any user-facing behavior, and all existing tests pass. One potential concern is that forcibly deleting buffers—even with validity checks—might race with other scheduled operations or remove buffers still expected by other plugins or callbacks.
