mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-24 14:26:33 +00:00
fix[module]: 修改线程池关闭时条件判断错误的bug
This commit is contained in:
@@ -129,7 +129,7 @@ public abstract class AbstractServer implements IServer {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
if (executor.isShutdown() || executor.isTerminated()) {
|
||||
if (!executor.isShutdown() || !executor.isTerminated()) {
|
||||
executor.shutdownGracefully();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user