fix: keep application reference when on pure view controller destruction
This commit is contained in:
@@ -33,7 +33,6 @@ export class PureViewCtrl {
|
|||||||
this.unsubState();
|
this.unsubState();
|
||||||
this.unsubApp = undefined;
|
this.unsubApp = undefined;
|
||||||
this.unsubState = undefined;
|
this.unsubState = undefined;
|
||||||
(this.application as any) = undefined;
|
|
||||||
if (this.stateTimeout) {
|
if (this.stateTimeout) {
|
||||||
this.$timeout.cancel(this.stateTimeout);
|
this.$timeout.cancel(this.stateTimeout);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user