diff --git a/src/core/inject.js b/src/core/inject.js index 78a89d849..44fb9dfa1 100644 --- a/src/core/inject.js +++ b/src/core/inject.js @@ -57,6 +57,7 @@ if (!providers[type]) { providers[type] = new providerInjection[type](); } + providerInstance[type] = null; return configFn(providers[type]); } return BI.Plugin.configWidget(type, configFn); @@ -74,6 +75,7 @@ if (!providers[type]) { providers[type] = new providerInjection[type](); } + providerInstance[type] = null; queue[i](providers[type]); continue; }