diff options
author | 2017-11-18 22:34:46 +0100 | |
---|---|---|
committer | 2017-11-18 22:34:46 +0100 | |
commit | 3da65653c4f6866f048d60f87c20217376679bc6 (patch) | |
tree | 9b3495674c4381feaf5f35e92de97a1b54d9b08e /src/stores | |
parent | Fix typos (diff) | |
parent | allow service to be reattached properly after re-enabling service (diff) | |
download | ferdium-app-3da65653c4f6866f048d60f87c20217376679bc6.tar.gz ferdium-app-3da65653c4f6866f048d60f87c20217376679bc6.tar.zst ferdium-app-3da65653c4f6866f048d60f87c20217376679bc6.zip |
Merge pull request #294 from meetfranz/feature/192-display-disabled-services
[PR] Disable/Enable service optimizations
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/ServicesStore.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 87d31c0c5..9af5d81da 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -547,6 +547,8 @@ export default class ServicesStore extends Store { | |||
547 | 547 | ||
548 | if (service) { | 548 | if (service) { |
549 | const loop = () => { | 549 | const loop = () => { |
550 | if (!service.webview) return; | ||
551 | |||
550 | service.webview.send('poll'); | 552 | service.webview.send('poll'); |
551 | 553 | ||
552 | setTimeout(loop, delay); | 554 | setTimeout(loop, delay); |