mousetrap
mousetrap copied to clipboard
added `destroy`method to cleanup listener
Following https://github.com/ccampbell/mousetrap/issues/427
agreed
@ccampbell could you please have a look on this? Looks like missing ability to remove event listener can be a major drawback leading to a memory leak
Echoing the comment above, not having this option leads to major memory leaks - @ccampbell apologies for the @
, but can we look into merging this or a similar fix?