parent
b60acc5e52
commit
8e07686047
|
|
@ -465,26 +465,6 @@ public class ReferenceConfig<T> extends ReferenceConfigBase<T> {
|
|||
this.bootstrap = bootstrap;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private final Object finalizerGuardian = new Object() {
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
super.finalize();
|
||||
|
||||
if (!ReferenceConfig.this.destroyed) {
|
||||
logger.warn("ReferenceConfig(" + url + ") is not DESTROYED when FINALIZE");
|
||||
|
||||
/* don't destroy for now
|
||||
try {
|
||||
ReferenceConfig.this.destroy();
|
||||
} catch (Throwable t) {
|
||||
logger.warn("Unexpected err when destroy invoker of ReferenceConfig(" + url + ") in finalize method!", t);
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
private void postProcessConfig() {
|
||||
List<ConfigPostProcessor> configPostProcessors =ExtensionLoader.getExtensionLoader(ConfigPostProcessor.class)
|
||||
.getActivateExtension(URL.valueOf("configPostProcessor://"), (String[]) null);
|
||||
|
|
|
|||
Loading…
Reference in New Issue