File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
services/static-webserver/client/source/class/osparc/store Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -130,17 +130,16 @@ qx.Class.define("osparc.store.Services", {
130130 this . __addHit ( service ) ;
131131 this . __addTSRInfo ( service ) ;
132132 this . __addExtraTypeInfo ( service ) ;
133- this . __addServiceToCache ( service )
133+ this . __addServiceToCache ( service ) ;
134+ delete this . __servicesPromisesCached [ key ] [ version ] ;
134135 resolve ( service ) ;
135136 } )
136137 . catch ( err => {
137138 // store it in cache to avoid asking again
138139 this . __addToCache ( key , version , null ) ;
140+ delete this . __servicesPromisesCached [ key ] [ version ] ;
139141 console . error ( err ) ;
140142 reject ( ) ;
141- } )
142- . finally ( ( ) => {
143- delete this . __servicesPromisesCached [ key ] [ version ] ;
144143 } ) ;
145144 } ) ;
146145 } ,
You can’t perform that action at this time.
0 commit comments