mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: terminate actorSystem when shutdown worker
This commit is contained in:
parent
4c89a1e69c
commit
30d0d7d338
@ -195,5 +195,6 @@ public class OhMyWorker implements ApplicationContextAware, InitializingBean, Di
|
||||
@Override
|
||||
public void destroy() throws Exception {
|
||||
timingPool.shutdownNow();
|
||||
workerRuntime.getActorSystem().terminate();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user