if (cfg.getBus() == null) {
return;
}
ClientLifeCycleManager mgr = cfg.getBus().getExtension(ClientLifeCycleManager.class);
if (null != mgr) {
mgr.clientDestroyed(new FrontendClientAdapter(getConfiguration()));
}
if (cfg.getConduitSelector() instanceof Closeable) {
try {
((Closeable)cfg.getConduitSelector()).close();