/** * This is the real destroy and we need to call it by hand then... * * It will destroy also the listenermanager! */ public void realDestroy() { super.destroy(); } }
@Override public void destroy() { try { super.destroy(); servletConfig = null; if (tmpconfigContext.getListenerManager() != null){ tmpconfigContext.getListenerManager().destroy(); } } catch (Exception e) { e.printStackTrace(); } }