diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-05-25 00:14:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-25 00:14:30 +0800 |
commit | 664fc078004cb612c6d953d4ae80fa769f607688 (patch) | |
tree | 1a986f0ccf4894d7348c7c441f321f3a5ee8ee60 /app | |
parent | cd631db1242ede923e9375b6a1161afd3f0883ec (diff) | |
parent | e23c0f98faef3282d684bba48a53a1f48425b52d (diff) | |
download | tangerine-wallet-browser-664fc078004cb612c6d953d4ae80fa769f607688.tar tangerine-wallet-browser-664fc078004cb612c6d953d4ae80fa769f607688.tar.gz tangerine-wallet-browser-664fc078004cb612c6d953d4ae80fa769f607688.tar.bz2 tangerine-wallet-browser-664fc078004cb612c6d953d4ae80fa769f607688.tar.lz tangerine-wallet-browser-664fc078004cb612c6d953d4ae80fa769f607688.tar.xz tangerine-wallet-browser-664fc078004cb612c6d953d4ae80fa769f607688.tar.zst tangerine-wallet-browser-664fc078004cb612c6d953d4ae80fa769f607688.zip |
Merge pull request #1487 from MetaMask/stopPolling
Stop polling
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/network.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/controllers/network.js b/app/scripts/controllers/network.js index 4fdd92921..c07f13b8d 100644 --- a/app/scripts/controllers/network.js +++ b/app/scripts/controllers/network.js @@ -53,6 +53,7 @@ module.exports = class NetworkController extends EventEmitter { this.providerInit = newInit this._provider.removeAllListeners() + this._provider.stop() this.provider = MetaMaskProvider(newInit) // apply the listners created by other controllers Object.keys(this._providerListeners).forEach((key) => { |