Permalink
Browse files

Remove callback on 'close' event

  • Loading branch information...
1 parent 049c7e1 commit 0d3aae251bf46c3e57bf1507591122b0878b1ed4 @iangreenleaf iangreenleaf committed Mar 27, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/index.coffee
View
@@ -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

0 comments on commit 0d3aae2

Please sign in to comment.