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

add missing this.clearRequestTimer() to Connection.cancel() #527

Merged
merged 1 commit into from
Mar 5, 2017
Merged

add missing this.clearRequestTimer() to Connection.cancel() #527

merged 1 commit into from
Mar 5, 2017

Conversation

chdh
Copy link
Collaborator

@chdh chdh commented Mar 5, 2017

Without calling clearRequestTimer() in Connection.cancel(), the old timer remains active when a request is canceled. Even after a new request is started and createRequestTimer() is called again, the old timer still remains active.

Copy link
Collaborator

@arthurschreiber arthurschreiber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes sense and looks good! Thanks! ❤️

@arthurschreiber arthurschreiber merged commit 5f366c5 into tediousjs:master Mar 5, 2017
@chdh chdh deleted the fix-connection-cancel branch March 6, 2017 23:03
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.

2 participants