background - graceful publicConfigStore connection teardown

feature/default_network_editable
kumavis 8 years ago
parent a14a25c423
commit dc86ddebb7
  1. 4
      app/scripts/metamask-controller.js

@ -321,7 +321,9 @@ module.exports = class MetamaskController extends EventEmitter {
setupPublicConfig (outStream) { setupPublicConfig (outStream) {
pipe( pipe(
this.publicConfigStore, this.publicConfigStore,
outStream outStream,
// cleanup on disconnect
() => this.publicConfigStore.unpipe(outStream)
) )
} }

Loading…
Cancel
Save