Skip to content

Commit

Permalink
[fix] remove setTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Swaagie committed May 27, 2015
1 parent feb10e6 commit 00ec239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ var Requests = module.exports = Requested.extend({

this.emit('destroy');

setTimeout(this.socket.abort.bind(this.socket), 0);
this.socket.abort();
this.removeAllListeners();

this.headers = {};
Expand Down

0 comments on commit 00ec239

Please sign in to comment.