Skip to content

Proposed fix for Issue 53 - use bool OnDataReceived signal to avoid i… #54

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

Merged
merged 1 commit into from
Mar 1, 2018

Conversation

hideflolife
Copy link

@hideflolife hideflolife commented Mar 1, 2018

This may resolve Issue #53 . Since PollingXHR.Create's Task.Run may never finish due to recursive calls due to incoming data, this tries to use bool OnDataReceived as a signal to the DoPoll function, limiting recursion.

@hideflolife
Copy link
Author

Will also likely fix occurrences of #44 since it may eliminate the multiple exceptions related to failure upon too many threads

@mattqs mattqs merged commit 1d1b022 into Quobject:master Mar 1, 2018
@hideflolife
Copy link
Author

@mattqs within issue #53 I commented on how you could recreate the bug and how this proposed change fixes it. If this merge is acceptable by you, I would appreciate if you could do a release, so I can pull it down via nuget.

@mattqs
Copy link
Contributor

mattqs commented Mar 1, 2018

Next release will be on 16 April 2018.

@hideflolife
Copy link
Author

Yes, but then we have to figure out another way to stop the indefinite recursion that's going on. I haven't looked at the tests - maybe they need to be reviewed.

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.

3 participants