Skip to content

Commit

Permalink
unref() has a memory leak; don't use it
Browse files Browse the repository at this point in the history
  • Loading branch information
jwolski committed Feb 1, 2016
1 parent b72380d commit 231bc51
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ RingpopClient.prototype._scheduleWedgedTimer = function _scheduleWedgedTimer() {
self.scanForWedgedRequests();
self._scheduleWedgedTimer();
}, this.config.get('wedgedTimerInterval') || Config.Defaults.wedgedTimerInterval);
this.wedgedTimer.unref();
};

module.exports = RingpopClient;

0 comments on commit 231bc51

Please sign in to comment.