mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fixes for memory leaks and multiple subscriptions (#3456)
* fix content action memory leaks * memory leak fixes for demo shell
This commit is contained in:
committed by
Eugenio Romano
parent
beeb7bd369
commit
346dff436d
@@ -252,9 +252,9 @@ export class ViewerComponent implements OnChanges, OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.subscriptions = this.subscriptions.concat([
|
||||
this.subscriptions.push(
|
||||
this.apiService.nodeUpdated.subscribe(node => this.onNodeUpdated(node))
|
||||
]);
|
||||
);
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
|
Reference in New Issue
Block a user