Skip to content

Commit

Permalink
fix bug cause by multi thread create a hub impl
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenceDut committed May 10, 2019
1 parent dc51fdf commit 7caf8c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static <T extends IHub> T getImpl(Class<T> iHub) {
}
}
}
return (T) realImpl;
return (T) sRealImpls.get(iHub);
}

/**
Expand Down

0 comments on commit 7caf8c4

Please sign in to comment.