未验证 提交 b4cee1b1 编写于 作者: 灼华 提交者: GitHub

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

上级 7ee2cd37
...@@ -590,6 +590,13 @@ public class HAService { ...@@ -590,6 +590,13 @@ public class HAService {
log.info(this.getServiceName() + " service end"); log.info(this.getServiceName() + " service end");
} }
@Override
public void shutdown() {
super.shutdown();
closeMaster();
}
// private void disableWriteFlag() { // private void disableWriteFlag() {
// if (this.socketChannel != null) { // if (this.socketChannel != null) {
// SelectionKey sk = this.socketChannel.keyFor(this.selector); // SelectionKey sk = this.socketChannel.keyFor(this.selector);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册