mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Merge pull request #618 from MetaMask/RollbackLeakFix
Reverting memory leak fix
This commit is contained in:
commit
03c84cff69
@ -86,7 +86,6 @@ function setupControllerConnection (stream) {
|
|||||||
stream.pipe(dnode).pipe(stream)
|
stream.pipe(dnode).pipe(stream)
|
||||||
dnode.on('remote', (remote) => {
|
dnode.on('remote', (remote) => {
|
||||||
// push updates to popup
|
// push updates to popup
|
||||||
controller.ethStore.removeListener('update', controller.sendUpdate.bind(controller))
|
|
||||||
controller.ethStore.on('update', controller.sendUpdate.bind(controller))
|
controller.ethStore.on('update', controller.sendUpdate.bind(controller))
|
||||||
controller.listeners.push(remote)
|
controller.listeners.push(remote)
|
||||||
idStore.on('update', controller.sendUpdate.bind(controller))
|
idStore.on('update', controller.sendUpdate.bind(controller))
|
||||||
|
Loading…
Reference in New Issue
Block a user