src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.ts/ViewOverlayWidgets/removeWidget
class ViewOverlayWidgets:	public removeWidget(widget: IOverlayWidget): void {
		const widgetId = widget.getId();
		if (this._widgets.hasOwnProperty(widgetId)) {
			const widgetData = this._widgets[widgetId];
			const domNode = widgetData.domNode.domNode;
			delete this._widgets[widgetId];

			domNode.parentNode!.removeChild(domNode);
			this.setShouldRender();
		}
	}