extensions/simple-browser/src/dispose.ts/Disposable/_register
class Disposable:	protected _register<T extends vscode.Disposable>(value: T): T {
		if (this._isDisposed) {
			value.dispose();
		} else {
			this._disposables.push(value);
		}
		return value;
	}