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
callback may invoke twice #330
Comments
line 121 returns if _callbackCalled so it'll never hit line 122 |
think about such situation: |
Excellent. I just hit this problem. |
this should be fixed in master from the pull request i already accepted. |
the flag '_callbackCalled ' will set at line 123, but the callback has called at line 122.
if the callback throw an exception, the callback might call twice. just like follow codes:
how about swap line 122 and 123?
The text was updated successfully, but these errors were encountered: