private void deleteView() {
		ViewProviderService vps = getCurrentViewProvider();
		if (vps != null) {
			if (vps.viewDeleted()) {
				closeView(vps, false);
			}
		}
	}
Delete the view and notify the view provider that it is now deleted.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ViewPanel.java