public static void releaseBundleHostReference() {
		if (referenceCount.getAndDecrement() == 1) {
			dispose();
		}
	}
release the reference the BundleHost reference.  When no references remain, 
{@link #dispose()} is called.
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScriptUtil.java