pull/1930/head
theonefx 4 years ago
parent 02bb8f397a
commit 3249c46dcc

@ -18,8 +18,6 @@ package com.alibaba.cloud.nacos;
import java.util.Objects; import java.util.Objects;
import javax.annotation.PreDestroy;
import com.alibaba.cloud.nacos.diagnostics.analyzer.NacosConnectionFailureException; import com.alibaba.cloud.nacos.diagnostics.analyzer.NacosConnectionFailureException;
import com.alibaba.nacos.api.NacosFactory; import com.alibaba.nacos.api.NacosFactory;
import com.alibaba.nacos.api.config.ConfigService; import com.alibaba.nacos.api.config.ConfigService;
@ -75,14 +73,6 @@ public class NacosConfigManager {
return service; return service;
} }
@PreDestroy
public void destroy() throws NacosException {
if (service != null) {
service.shutDown();
service = null;
}
}
public NacosConfigProperties getNacosConfigProperties() { public NacosConfigProperties getNacosConfigProperties() {
return nacosConfigProperties; return nacosConfigProperties;
} }

Loading…
Cancel
Save