src/vs/workbench/api/browser/mainThreadDocuments.ts/BoundModelReferenceCollection/_cleanup
class BoundModelReferenceCollection:	private _cleanup(): void {
		while (this._length > this._maxLength) {
			this._data[0].dispose();
		}
	}