mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix document list memory leak (#8823)
This commit is contained in:
@@ -374,9 +374,11 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
|
|||||||
private lockService: LockService,
|
private lockService: LockService,
|
||||||
private dialog: MatDialog) {
|
private dialog: MatDialog) {
|
||||||
|
|
||||||
this.nodeService.nodeUpdated.subscribe((node) => {
|
this.nodeService.nodeUpdated
|
||||||
this.dataTableService.rowUpdate.next({id: node.id, obj: {entry: node}});
|
.pipe(takeUntil(this.onDestroy$))
|
||||||
});
|
.subscribe((node) => {
|
||||||
|
this.dataTableService.rowUpdate.next({id: node.id, obj: {entry: node}});
|
||||||
|
});
|
||||||
|
|
||||||
this.userPreferencesService
|
this.userPreferencesService
|
||||||
.select(UserPreferenceValues.PaginationSize)
|
.select(UserPreferenceValues.PaginationSize)
|
||||||
|
Reference in New Issue
Block a user