mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
fix #1926
This commit is contained in:
parent
02bb8f397a
commit
3249c46dcc
@ -18,8 +18,6 @@ package com.alibaba.cloud.nacos;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
import com.alibaba.cloud.nacos.diagnostics.analyzer.NacosConnectionFailureException;
|
||||
import com.alibaba.nacos.api.NacosFactory;
|
||||
import com.alibaba.nacos.api.config.ConfigService;
|
||||
@ -75,14 +73,6 @@ public class NacosConfigManager {
|
||||
return service;
|
||||
}
|
||||
|
||||
@PreDestroy
|
||||
public void destroy() throws NacosException {
|
||||
if (service != null) {
|
||||
service.shutDown();
|
||||
service = null;
|
||||
}
|
||||
}
|
||||
|
||||
public NacosConfigProperties getNacosConfigProperties() {
|
||||
return nacosConfigProperties;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user