fix(core.gbapp): #387 adding /setupSecurity multiple tokens. Refresh token fix. @othonlima.

This commit is contained in:
Rodrigo Rodriguez 2023-12-25 18:37:36 -03:00
parent ca7e24ee5a
commit c6076c32ef

View file

@ -617,7 +617,7 @@ export class GBVMService extends GBService {
global[i + "_expiresOn"]= expiresOn;
}
}
});
};
try{
${code}
@ -627,13 +627,6 @@ export class GBVMService extends GBService {
}
finally{
// Signals token refresh jobs to stop.
for(let i in tokens) {
const token = tokens[i];
tokenStops[token] = true;
}
// Closes handles if any.
await wa.closeHandles({pid: pid});