内嵌服务销毁逻辑优化;

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

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

Loading…
Cancel
Save