diff options
author | Amine Mouafik <amine@mouafik.fr> | 2019-11-27 23:32:27 +0700 |
---|---|---|
committer | Amine Mouafik <amine@mouafik.fr> | 2019-11-27 23:32:27 +0700 |
commit | a7d054e71e5f7171804dd34f46f51b68353672e8 (patch) | |
tree | d06b4f02e0c613426c590e3d70dad72d5b645d9c | |
parent | Fix TypeError fns is not iterable (diff) | |
download | ferdium-app-a7d054e71e5f7171804dd34f46f51b68353672e8.tar.gz ferdium-app-a7d054e71e5f7171804dd34f46f51b68353672e8.tar.zst ferdium-app-a7d054e71e5f7171804dd34f46f51b68353672e8.zip |
Clear hibernation timeout in componentWillUnmount
-rw-r--r-- | src/components/services/content/ServiceView.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js index 1fff5ef7a..860863d26 100644 --- a/src/components/services/content/ServiceView.js +++ b/src/components/services/content/ServiceView.js | |||
@@ -96,6 +96,7 @@ export default @inject('stores', 'actions') @observer class ServiceView extends | |||
96 | componentWillUnmount() { | 96 | componentWillUnmount() { |
97 | this.autorunDisposer(); | 97 | this.autorunDisposer(); |
98 | clearTimeout(this.forceRepaintTimeout); | 98 | clearTimeout(this.forceRepaintTimeout); |
99 | clearTimeout(this.hibernationTimer); | ||
99 | } | 100 | } |
100 | 101 | ||
101 | updateTargetUrl = (event) => { | 102 | updateTargetUrl = (event) => { |