246247248249250251252253254255256
{ Object object = context.get(name); if (object!=null) //in a portal environment, this is possible { if ( Events.exists() ) Events.instance().raiseEvent("org.jboss.seam.preDestroy." + name); component.destroy(object); } } } } finally
247248249250251252253254255256257