147148149150151152153154155156157
protected void destroy(String windowId) { try { BeanStore store = getBeanStore(); if (store != null) { store.destroy(windowId); } } finally { Map<String, PortletRequestLifecycle> map = lifecycles.get(); if (map != null) { map.remove(windowId);
164165166167168169170171172173174
protected void destroy() { try { BeanStore store = getBeanStore(); if (store != null) { store.destroy(); } } finally { cleanup(); } }