[ISSUE #2821] Overriding the ServiceThread#shutdown in HAClient class

This commit is contained in:
灼华
2021-04-20 11:54:35 +08:00
committed by GitHub
parent 7ee2cd37c8
commit b4cee1b102
@@ -590,6 +590,13 @@ public class HAService {
log.info(this.getServiceName() + " service end");
}
@Override
public void shutdown() {
super.shutdown();
closeMaster();
}
// private void disableWriteFlag() {
// if (this.socketChannel != null) {
// SelectionKey sk = this.socketChannel.keyFor(this.selector);