Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BaseRequester events do not properly remove event handlers #572

Closed
ArcanoxDragon opened this issue Jun 14, 2017 · 1 comment
Closed

BaseRequester events do not properly remove event handlers #572

ArcanoxDragon opened this issue Jun 14, 2017 · 1 comment

Comments

@ArcanoxDragon
Copy link
Contributor

In the devel branch, the events defined in AngleSharp.Io.BaseRequester do not correctly remove event handlers when delegates are removed from the .NET events. On BaseRequester.cs:20 and BaseRequester.cs:29, the remove handler incorrectly calls AddEventListener again instead of calling RemoveEventListener.

ArcanoxDragon added a commit to ArcanoxDragon/AngleSharp that referenced this issue Jun 14, 2017
FlorianRappl added a commit that referenced this issue Jun 14, 2017
@FlorianRappl
Copy link
Contributor

Very good finding - thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants