提交 d94e07f3 编写于 作者: X xueli.xue

内嵌服务销毁逻辑优化;

上级 8712048d
......@@ -159,10 +159,12 @@ public class XxlJobExecutor {
private void stopEmbedServer() {
// stop provider factory
try {
embedServer.stop();
} catch (Exception e) {
logger.error(e.getMessage(), e);
if (embedServer != null) {
try {
embedServer.stop();
} catch (Exception e) {
logger.error(e.getMessage(), e);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册