angular2-hotkeys
angular2-hotkeys copied to clipboard
how to avoid memory leaks??????????
I can see ngondestroy in the cheatsheet but not in hotkey.ts
Have you seen any memory leak? Could you provide some example code of the situation that's troublesome? Or a pull request that amends it? Or an article describing the issue?
When I use this myself I run hotkeyservice.remove() on my hotkeys on my own components OnDestroy and that seems to be working well. But I might be missing something, but I could use something more concrete to work with.
@Dencer any reply here?