angular2-hotkeys icon indicating copy to clipboard operation
angular2-hotkeys copied to clipboard

how to avoid memory leaks??????????

Open Dencer opened this issue 6 years ago • 2 comments

I can see ngondestroy in the cheatsheet but not in hotkey.ts

Dencer avatar Aug 28 '18 07:08 Dencer

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.

wittlock avatar Aug 28 '18 16:08 wittlock

@Dencer any reply here?

Coffee-Tea avatar Aug 28 '21 18:08 Coffee-Tea