public void projectClosed() {
final IdeaPluginDescriptor plugin = PluginManager.getPlugin(PluginId.getId(FindBugsPluginConstants.PLUGIN_NAME));
//noinspection ConstantConditions
LOGGER.debug("project is being closed: " + plugin.getName() + " project=" + getProject());
EventManagerImpl.getInstance().removeEventListener(_project);
final AnalyzeChangelistFiles action = (AnalyzeChangelistFiles) ActionManager.getInstance().getAction(FindBugsPluginConstants.ACTIVE_CHANGELIST_ACTION);
ChangeListManager.getInstance(_project).removeChangeListListener(action.getChangelistAdapter());
unregisterToolWindow();
disableToolbarActions();
}