Ensure that each listener still exists before executing.
Ensure that each listener still exists before executing.

This prevents a very rare edge case where a listener removes another during the callstack. The array of listeners mutates and the listener is called even though it has been removed by another.

dictions/mighty-dux