Merge pull request #655 from MetaMask/FixPortStreamEnd

Fix port stream end bug
feature/default_network_editable
kumavis 8 years ago committed by GitHub
commit 54ecb09a20
  1. 3
      app/scripts/lib/port-stream.js

@ -30,8 +30,7 @@ PortDuplexStream.prototype._onMessage = function (msg) {
PortDuplexStream.prototype._onDisconnect = function () {
try {
// this.end()
this.emit('close')
this.push(null)
} catch (err) {
this.emit('error', err)
}

Loading…
Cancel
Save