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

Copy options before adding callback. #429

Merged
merged 2 commits into from
Mar 2, 2013
Merged

Copy options before adding callback. #429

merged 2 commits into from
Mar 2, 2013

Conversation

nrn
Copy link
Contributor

@nrn nrn commented Feb 6, 2013

Prevents a reference to the callback function being added to the original options object.

I discovered this by making a request with a callback, then reusing the options object I made the request with to make a streaming request, which called the callback a second time.

@mikeal
Copy link
Member

mikeal commented Mar 1, 2013

this doesn't merge cleanly, please reopen when it does.

@mikeal mikeal closed this Mar 1, 2013
@nrn
Copy link
Contributor Author

nrn commented Mar 2, 2013

Seemed to merge cleanly with master, what can I do to help?

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.

None yet

2 participants