shutdown thread pool

pull/489/head
DerekYRC 3 years ago
parent eaae0f2c2b
commit a26851c3e9

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

Loading…
Cancel
Save