fix: keep application reference when on pure view controller destruction

This commit is contained in:
Baptiste Grob
2020-06-01 18:38:05 +02:00
parent 36d8b81d2f
commit 6e485e0e8a

View File

@@ -33,7 +33,6 @@ export class PureViewCtrl {
this.unsubState();
this.unsubApp = undefined;
this.unsubState = undefined;
(this.application as any) = undefined;
if (this.stateTimeout) {
this.$timeout.cancel(this.stateTimeout);
}