1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02:00

Bump changelog

This commit is contained in:
Dan Finlay 2016-09-06 18:57:18 -07:00
parent bfea26d3e3
commit 2564c0c51c
2 changed files with 1 additions and 25 deletions

View File

@ -4,6 +4,7 @@
- On fresh install, open a new tab with the MetaMask Introduction video.
- Block negative values from transactions.
- Fixed a memory leak.
## 2.10.2 2016-09-02

View File

@ -1,25 +0,0 @@
module.exports = class ListenerManager {
constructor() {
this.cleaners = {}
}
setup (name) {
if (!(name in this.cleaners)) {
this.cleaners[name] = []
}
}
addCleanup (name, cleaner) {
this.setup(name)
}
cleanupOldListeners (name) {
this.setup(name)
this.cleaners[name].forEach((cleaner) => {
cleaner()
})
this.cleaners[name] = []
}
}