Skip to content

Commit

Permalink
fix: OPTIC-714: Remove Warning when the page leave datamanager page
Browse files Browse the repository at this point in the history
  • Loading branch information
Raul Martin committed May 7, 2024
1 parent e65b4dd commit 3ba4b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/libs/datamanager/src/stores/AppStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ export const AppStore = types

beforeDestroy() {
clearTimeout(self._poll);
self.viewsStore.forEach((view) => view.destroy());
window.removeEventListener("popstate", self.handlePopState);
networkActivity.destroy();
},
Expand Down

0 comments on commit 3ba4b2b

Please sign in to comment.