mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-11 19:40:47 +01:00
ref PR for mem leak explanation
This commit is contained in:
parent
70a0044ac5
commit
0b2fab43d5
@ -7,6 +7,7 @@
|
|||||||
* Results are not cached, once the promise has returned, the next call will result in a fresh call
|
* 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.
|
* 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) {
|
export function sequentialize(cacheKey: (args: any[]) => string) {
|
||||||
return (target: any, propertyKey: string | symbol, descriptor: PropertyDescriptor) => {
|
return (target: any, propertyKey: string | symbol, descriptor: PropertyDescriptor) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user