From 0b2fab43d53804cafe0ba48526853393fce1ec6f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 23 Jul 2018 15:46:59 -0400 Subject: [PATCH] ref PR for mem leak explanation --- src/misc/sequentialize.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/misc/sequentialize.ts b/src/misc/sequentialize.ts index c3e330f7edb..b9501a8ad26 100644 --- a/src/misc/sequentialize.ts +++ b/src/misc/sequentialize.ts @@ -7,6 +7,7 @@ * Results are not cached, once the promise has returned, the next call will result in a fresh call * * WARNING: The decorator's scope is singleton, so using it on transient objects can lead to memory leaks. + * Read more at https://github.com/bitwarden/jslib/pull/7 */ export function sequentialize(cacheKey: (args: any[]) => string) { return (target: any, propertyKey: string | symbol, descriptor: PropertyDescriptor) => {