We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71cf06f commit e2f4a98Copy full SHA for e2f4a98
services/static-webserver/client/source/class/osparc/store/Services.js
@@ -154,6 +154,9 @@ qx.Class.define("osparc.store.Services", {
154
// ensure that the promise is immediately stored in the cache before any asynchronous
155
// operations (like fetch) are executed. This prevents duplicate requests for the
156
// same key and version when multiple consumers call getService concurrently.
157
+ if (!(key in this.__servicesPromisesCached)) {
158
+ this.__servicesPromisesCached[key] = {};
159
+ }
160
this.__servicesPromisesCached[key][version] = promise;
161
return promise;
162
},
0 commit comments