mirror of https://github.com/tikv/client-java.git
Update ChannelFactory
Signed-off-by: Daemonxiao <735462752@qq.com> Co-authored-by: iosmanthus <myosmanthustree@gmail.com>
This commit is contained in:
parent
d92b4ff05f
commit
c1dee04bb5
|
|
@ -363,11 +363,12 @@ public class ChannelFactory implements AutoCloseable {
|
||||||
}
|
}
|
||||||
connPool.clear();
|
connPool.clear();
|
||||||
|
|
||||||
if (certContext != null) {
|
if (recycler != null) {
|
||||||
recycler.shutdownNow();
|
recycler.shutdown();
|
||||||
if (certWatcher != null) {
|
}
|
||||||
certWatcher.close();
|
|
||||||
}
|
if (certWatcher != null) {
|
||||||
|
certWatcher.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue