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
1 changed files with 1 additions and 1 deletions

View File

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