• Tibor Kranjčec's avatar
    Update notificationsEvents.md · 80a18f9e
    Tibor Kranjčec authored
    Changes the documentation so the example is correct in the prevention of the memory leaks.
    
    `.bind` will return a new version of the function on each call which means `removeEventListener` won't be able to find the previous listener and release it.
    80a18f9e
notificationsEvents.md 5.36 KB