diff options
author | Bruno Barbieri <brunobar79@gmail.com> | 2019-05-15 16:53:09 +0800 |
---|---|---|
committer | Frankie <frankie.diamond@gmail.com> | 2019-05-15 16:53:09 +0800 |
commit | 1d2cf52b649866a15ea00733739cc0212a53e509 (patch) | |
tree | a3c08a7cfb3245a8b822a5dd57cd16630d33465a /app | |
parent | 985f51a764560311e8aa5bb149e34b3c25b78c92 (diff) | |
download | tangerine-wallet-browser-1d2cf52b649866a15ea00733739cc0212a53e509.tar tangerine-wallet-browser-1d2cf52b649866a15ea00733739cc0212a53e509.tar.gz tangerine-wallet-browser-1d2cf52b649866a15ea00733739cc0212a53e509.tar.bz2 tangerine-wallet-browser-1d2cf52b649866a15ea00733739cc0212a53e509.tar.lz tangerine-wallet-browser-1d2cf52b649866a15ea00733739cc0212a53e509.tar.xz tangerine-wallet-browser-1d2cf52b649866a15ea00733739cc0212a53e509.tar.zst tangerine-wallet-browser-1d2cf52b649866a15ea00733739cc0212a53e509.zip |
Fixes bugs in 6.5.1 (#6613)
* fix bg error
* fix ui exception
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/metamask-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 55ca96ad4..242028c92 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -343,7 +343,7 @@ module.exports = class MetamaskController extends EventEmitter { updatePublicConfigStore(this.getState()) publicConfigStore.destroy = () => { - this.removeEventListener('update', updatePublicConfigStore) + this.removeEventListener && this.removeEventListener('update', updatePublicConfigStore) } function updatePublicConfigStore (memState) { |