mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
formatting
This commit is contained in:
@@ -32,8 +32,7 @@ export function sequentialize(cacheKey: (args: any[]) => string) {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
response = originalMethod.apply(this, args)
|
response = originalMethod.apply(this, args).finally(() => {
|
||||||
.finally(() => {
|
|
||||||
cache.delete(argsCacheKey);
|
cache.delete(argsCacheKey);
|
||||||
if (cache.size === 0) {
|
if (cache.size === 0) {
|
||||||
caches.delete(this);
|
caches.delete(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user