fix($rootScope.$on) check listener existense while deregistering
Check that listener is still present in $$listeners before decrease $$listenerCount. It fixes problem with incorrect $$listenerCount after call deregistering function multiple times. Closes #9666 Closes #9667
D
Dmytro Yarmak committed
bf9e7bfb5a26f5f463f145e8a0fcce7835ce6877
Parent: ed3f799
Committed by Peter Bacon Darwin <pete@bacondarwin.com>
on 10/19/2014, 10:21:56 AM