diff --git a/designer-realize/src/main/java/com/fanruan/boot/env/DesignEnvComponent.java b/designer-realize/src/main/java/com/fanruan/boot/env/DesignEnvComponent.java index 3ac33e309a..7c9350430a 100644 --- a/designer-realize/src/main/java/com/fanruan/boot/env/DesignEnvComponent.java +++ b/designer-realize/src/main/java/com/fanruan/boot/env/DesignEnvComponent.java @@ -31,6 +31,7 @@ import com.fr.cbb.dialect.security.InsecurityElementFactory; import com.fr.cluster.ClusterBridge; import com.fr.cluster.lock.ClusterLock; import com.fr.config.BaseDBEnv; +import com.fr.config.ConfigContext; import com.fr.config.ConfigEvent; import com.fr.config.Configuration; import com.fr.config.FinalPreferenceConfig; @@ -361,6 +362,7 @@ public class DesignEnvComponent { DaoContext.setEntityDao(null); DaoContext.setXmlEntityDao(null); Configurations.setHelper(null); + ConfigContext.destroyAllConfig(); } /**