Skip to content

Commit

Permalink
bug fix,fix KylinConfig deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
7mming7 authored and liyang-kylin committed Mar 3, 2018
1 parent a040c9a commit 31af5c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ public <T> T getManager(Class<T> clz) {
if (mgr != null)
return (T) mgr;

synchronized (this) {
synchronized (clz) {
mgr = managersCache.get(clz);
if (mgr != null)
return (T) mgr;
Expand Down

0 comments on commit 31af5c2

Please sign in to comment.