mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-12 10:14:30 +00:00
fix[module]: 修改线程池关闭时条件判断错误的bug
This commit is contained in:
1 parent
f5c8f3b9ea
commit
ee7eb47be7
1 file changed
+1
-1
@@ -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