public static void dispose() {
		if (bundleHost != null) {
			bundleHost.stopFramework();
			bundleHost = null;
		}
		providers = null;
	}
dispose of the bundle host and providers list
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScriptUtil.java