{
for (Addon a : view.getAddons(notThisAddonFilter))
{
try
{
a.getEventManager().fireEvent(new PreShutdown(addon));
}
catch (Throwable t)
{
logger.log(Level.FINE, "Failed to execute pre-shutdown task for [" + addon
+ "] in event manager from " + a.getId(), t);