1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-03 18:28:13 +01:00

Use refCount: true to avoid potential memory leak (#8796)

This commit is contained in:
Thomas Rittson 2024-04-26 08:36:57 +10:00 committed by GitHub
parent c3d4c7aa3d
commit c21a58f2fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -194,7 +194,7 @@ export class GroupAddEditComponent implements OnInit, OnDestroy {
}),
);
}),
shareReplay({ refCount: false }),
shareReplay({ refCount: true, bufferSize: 1 }),
);
restrictGroupAccess$ = combineLatest([