内嵌服务销毁逻辑优化;

pull/23/head
xueli.xue 4 years ago
parent 8712048db3
commit d94e07f376

@ -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