diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-09-07 11:01:41 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-09-07 11:01:41 +0800 |
commit | 440e0797a7412b16df3c5123d2e7b656a5a9cb95 (patch) | |
tree | 11a79fc9dae80c88fd67135c0e7e6f27bcfdb4ca /app | |
parent | 54425f4ee767fcbd50ac6d9e7fe23e6ab4a3ff57 (diff) | |
download | tangerine-wallet-browser-440e0797a7412b16df3c5123d2e7b656a5a9cb95.tar tangerine-wallet-browser-440e0797a7412b16df3c5123d2e7b656a5a9cb95.tar.gz tangerine-wallet-browser-440e0797a7412b16df3c5123d2e7b656a5a9cb95.tar.bz2 tangerine-wallet-browser-440e0797a7412b16df3c5123d2e7b656a5a9cb95.tar.lz tangerine-wallet-browser-440e0797a7412b16df3c5123d2e7b656a5a9cb95.tar.xz tangerine-wallet-browser-440e0797a7412b16df3c5123d2e7b656a5a9cb95.tar.zst tangerine-wallet-browser-440e0797a7412b16df3c5123d2e7b656a5a9cb95.zip |
Reverting memory leak fix
This wasn't a good enough fix, and had other repercussions.
Looking for a way to properly detect EOS, and tear down the correct stream accordingly.
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/background.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 18aaed7bf..21a5eea65 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -86,7 +86,6 @@ function setupControllerConnection (stream) { stream.pipe(dnode).pipe(stream) dnode.on('remote', (remote) => { // push updates to popup - controller.ethStore.removeListener('update', controller.sendUpdate.bind(controller)) controller.ethStore.on('update', controller.sendUpdate.bind(controller)) controller.listeners.push(remote) idStore.on('update', controller.sendUpdate.bind(controller)) |