Closed shen3 closed 5 months ago
JDK Version(required): 1.8.0_281
SpringBoot Version(required): 2.7.11
dynamic-datasource-spring-boot-starter Version(required): 4.3.0
druid Version(optional): 1.2.8
调用DynamicRoutingDataSource 的 removeDataSource()方法—>closeDataSource(),DruidDatasource数据源无法关闭.
欢迎PR
@huayanYu
如果是其他的Datasource ,直接赋值给realDatasource
4.3.1
Enviroment
JDK Version(required): 1.8.0_281
SpringBoot Version(required): 2.7.11
dynamic-datasource-spring-boot-starter Version(required): 4.3.0
druid Version(optional): 1.2.8
Describe what happened
调用DynamicRoutingDataSource 的 removeDataSource()方法—>closeDataSource(),DruidDatasource数据源无法关闭.