aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-01-14 03:31:51 +0800
committerGitHub <noreply@github.com>2017-01-14 03:31:51 +0800
commit1ffaab1d9b4baa85348f2a366bfff4380b598ce5 (patch)
tree61eca62f325ca5594ffe4c5bbe597e7b4141b0e1 /app
parentb72987405e0ca60db75821ce38f401eb395ae356 (diff)
parentcc5e9aca4fa2a1e78c49be680405d93ac918bccf (diff)
downloadtangerine-wallet-browser-1ffaab1d9b4baa85348f2a366bfff4380b598ce5.tar
tangerine-wallet-browser-1ffaab1d9b4baa85348f2a366bfff4380b598ce5.tar.gz
tangerine-wallet-browser-1ffaab1d9b4baa85348f2a366bfff4380b598ce5.tar.bz2
tangerine-wallet-browser-1ffaab1d9b4baa85348f2a366bfff4380b598ce5.tar.lz
tangerine-wallet-browser-1ffaab1d9b4baa85348f2a366bfff4380b598ce5.tar.xz
tangerine-wallet-browser-1ffaab1d9b4baa85348f2a366bfff4380b598ce5.tar.zst
tangerine-wallet-browser-1ffaab1d9b4baa85348f2a366bfff4380b598ce5.zip
Merge branch 'dev' into integrateTxManagerUI
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/port-stream.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/port-stream.js b/app/scripts/lib/port-stream.js
index 6f4ccc6ab..607a9c9ed 100644
--- a/app/scripts/lib/port-stream.js
+++ b/app/scripts/lib/port-stream.js
@@ -51,11 +51,11 @@ PortDuplexStream.prototype._write = function (msg, encoding, cb) {
// console.log('PortDuplexStream - sent message', msg)
this._port.postMessage(msg)
}
- cb()
} catch (err) {
// console.error(err)
- cb(new Error('PortDuplexStream - disconnected'))
+ return cb(new Error('PortDuplexStream - disconnected'))
}
+ cb()
}
// util