Skip to content

Commit

Permalink
clear registries
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielLiu1123 committed Sep 10, 2023
1 parent 3e0367d commit 1f3b04f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,8 @@ private void registerBeans4BasePackages(List<String> basePackages) {
}
}
}

static void clear() {
registries.clear();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public void afterSingletonsInstantiated() {
@Override
public void destroy() {
Cache.clear();
HttpClientBeanRegistrar.clear();
}

private void warningUnusedConfiguration() {
Expand Down

0 comments on commit 1f3b04f

Please sign in to comment.