Skip to content

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

Merged
arthurschreiber merged 1 commit into
tediousjs:masterfrom
chdh:fix-connection-cancel
Mar 5, 2017
Merged

arthurschreiber merged 1 commit into
tediousjs:masterfrom
chdh:fix-connection-cancel

Conversation

@chdh

@chdh chdh commented Mar 5, 2017

Copy link
Copy Markdown
Collaborator

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.

@arthurschreiber arthurschreiber left a comment

Copy link
Copy Markdown
Collaborator

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