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