shutdown thread pool

pull/488/head
DerekYRC 3 years ago
parent a124e90459
commit 9a8a0452f2

@ -220,6 +220,8 @@ public class PolarisServiceRegistry implements ServiceRegistry<Registration>, Di
@Override
public void destroy() throws Exception {
heartbeatExecutor.shutdown();
if (heartbeatExecutor != null) {
heartbeatExecutor.shutdown();
}
}
}

Loading…
Cancel
Save