Example here:
https://gist.github.com/jcmoore/38135abefad78dc41e79#file-examlple-html-L14-L30
Not sure what the implications would be, but a solution might be as simple as using the "initial" length of the listeners array in the loop condition (instead of using the "current" length) for ShadowDOM/src/wrappers/events.js' invoke() method:
https://gist.github.com/jcmoore/38135abefad78dc41e79#file-shadowdom-src-wrappers-events-js-L385-L387
Example here:
https://gist.github.com/jcmoore/38135abefad78dc41e79#file-examlple-html-L14-L30
Not sure what the implications would be, but a solution might be as simple as using the "initial" length of the listeners array in the loop condition (instead of using the "current" length) for ShadowDOM/src/wrappers/events.js' invoke() method:
https://gist.github.com/jcmoore/38135abefad78dc41e79#file-shadowdom-src-wrappers-events-js-L385-L387