内嵌服务销毁逻辑优化;

master
xueli.xue 4 years ago
parent 8712048db3
commit d94e07f376
  1. 10
      xxl-job-core/src/main/java/com/xxl/job/core/executor/XxlJobExecutor.java

@ -159,10 +159,12 @@ public class XxlJobExecutor {
private void stopEmbedServer() { private void stopEmbedServer() {
// stop provider factory // stop provider factory
try { if (embedServer != null) {
embedServer.stop(); try {
} catch (Exception e) { embedServer.stop();
logger.error(e.getMessage(), e); } catch (Exception e) {
logger.error(e.getMessage(), e);
}
} }
} }

Loading…
Cancel
Save