Skip to content

Commit

Permalink
Remove callback on 'close' event
Browse files Browse the repository at this point in the history
  • Loading branch information
iangreenleaf committed Mar 27, 2012
1 parent 049c7e1 commit 0d3aae2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class ScopedClient
agent: false
)
if callback
req.on 'close', callback
req.on 'error', callback
req.write reqBody, 'utf-8' if sendingData
callback null, req if callback
Expand Down

0 comments on commit 0d3aae2

Please sign in to comment.