DocumentRegistry just decreases a ref, it doesn't close anything. Plug the same Document leak in a few other places, and document this.
DocumentRegistry just decreases a ref, it doesn't close anything. Plug the same Document leak in a few other places, and document this.