logger.debug("Registered singleton: {}", singleton);
factory.destroyScopedBean(singleton);
}
} catch (RuntimeException e) {
}
factory.destroySingletons();
applicationContext.close();
}
} catch (Throwable e) {
logger.warn("Exception {}", e);
} finally {