Skip to content

调用DynamicRoutingDataSource 的removeDataSource方法无法关闭数据源(DruidDatasource) #637

@shen3

Description

@shen3

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数据源无法关闭.
IMG20240509-142607922

IMG20240509-142252756

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions