Fix ReferenceConfig init ref check (#10225)

https://github.com/apache/dubbo/issues/10222
This commit is contained in:
crazyStar 2022-07-12 11:29:01 +08:00 committed by GitHub
parent e8ee154a5c
commit 768a69e8eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ public class ReferenceConfig<T> extends ReferenceConfigBase<T> {
}
protected synchronized void init() {
if (initialized) {
if (initialized && ref !=null ) {
return;
}
try {