Fix ReferenceConfig init ref check (#10225)
https://github.com/apache/dubbo/issues/10222
This commit is contained in:
parent
e8ee154a5c
commit
768a69e8eb
|
|
@ -247,7 +247,7 @@ public class ReferenceConfig<T> extends ReferenceConfigBase<T> {
|
|||
}
|
||||
|
||||
protected synchronized void init() {
|
||||
if (initialized) {
|
||||
if (initialized && ref !=null ) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue