Use refCount: true to avoid potential memory leak (#8796)
This commit is contained in:
parent
c3d4c7aa3d
commit
c21a58f2fb
|
@ -194,7 +194,7 @@ export class GroupAddEditComponent implements OnInit, OnDestroy {
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
shareReplay({ refCount: false }),
|
shareReplay({ refCount: true, bufferSize: 1 }),
|
||||||
);
|
);
|
||||||
|
|
||||||
restrictGroupAccess$ = combineLatest([
|
restrictGroupAccess$ = combineLatest([
|
||||||
|
|
Loading…
Reference in New Issue