@Override
	public void componentHidden() {
		super.componentHidden();
		if (plugin != null) {
			program.removeListener(listener);
			plugin.providerClosed(this);
		}
	}
ComponentProvider to display the results of a BSim Overview query
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/overview/BSimOverviewProvider.java