Skip to content

Commit

Permalink
fix: keep application reference when on pure view controller destruction
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Jun 1, 2020
1 parent 36d8b81 commit 6e485e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/assets/javascripts/views/abstract/pure_view_ctrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6e485e0

Please sign in to comment.