Skip to content

allow removal of closures, fixes #15#16

Open
tul wants to merge 2 commits intochuckpreslar:masterfrom
tul:listener_handles
Open

allow removal of closures, fixes #15#16
tul wants to merge 2 commits intochuckpreslar:masterfrom
tul:listener_handles

Conversation

@tul
Copy link

@tul tul commented Apr 25, 2018

Fixing this required changing the interface, you can no longer remove listeners
by function reference, but have to use an explicit handle which is returned
when your listener is added.

Merging this will break your interface, and so probably isn't something you
want to do - but maybe it will give some ideas on a more backwards
compatible fix.

required changing the interface, you can no longer remove listeners by
function reference, but have to use an explicit `handle` which is returned
when your listener is added
stops unbounded growth when using dynamically generated event
names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant