Browse Source

first show: remove unnecessary code (#2968)

Co-authored-by: gabry <wu_shao_jie@qq.com>
pull/2/head
superScala 4 years ago committed by GitHub
parent
commit
3a7fd725c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/NettyRemotingServer.java

4
dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/NettyRemotingServer.java

@ -208,9 +208,7 @@ public class NettyRemotingServer {
if(workGroup != null){
this.workGroup.shutdownGracefully();
}
if(defaultExecutor != null){
defaultExecutor.shutdown();
}
defaultExecutor.shutdown();
} catch (Exception ex) {
logger.error("netty server close exception", ex);
}

Loading…
Cancel
Save