Skip to content

Commit

Permalink
CovidTrackerFr#99 Clear timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
nhumblot committed Apr 29, 2021
1 parent 49f47fc commit d134645
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/views/vmd-rdv.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,11 @@ export abstract class AbstractVmdRdvView extends LitElement {

disconnectedCallback() {
super.disconnectedCallback();
// console.log("disconnected callback")

if (this.eligibilityCriteriaTimeout) {
clearTimeout(this.eligibilityCriteriaTimeout);
this.eligibilityCriteriaTimeout = undefined;
}
}

_onRefreshPageWhenValidParams(): "return"|"continue" {
Expand Down

0 comments on commit d134645

Please sign in to comment.