1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00: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

View File

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