@Override
	protected void stop(BundleContext bundleContext, Object api) {
		if (storedAction != null) {
			storedAction.dispose();
			if (storedTool == null) {
				Msg.showError(this, null, "Activator error!", "storedTool is null!");
			}
			else {
				storedTool.removeAction(storedAction);
			}
			storedTool = null;
			storedAction = null;
		}
	}
Called by Ghidra when bundle is deactivated.

@param bundleContext the context for this bundle
@param api placeholder for future Ghidra API
Ghidra/Extensions/bundle_examples/scripts_with_activator/internal/MyActivator.java