teemualap/uniwheel

_removeWheelListener leaks handler into global scope

Closed this issue · 1 comments

_removeWheelListener assigns the callback to the cb variable, but doesn't define it. This results in the callback, and whatever object related to it, being leaked into the global scope.

True, merged :)