Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Drop reference to timer callback on clearTimeout

Reported here:
http://groups.google.com/group/nodejs-dev/browse_thread/thread/9e063d0938f99879

Would be good to test this somehow...
  • Loading branch information...
commit 80974dc85b87e406fa7c4aa3e998c2a0ab7808a9 1 parent 16f7362
@ry ry authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/node.js
View
1  src/node.js
@@ -603,6 +603,7 @@ global.setInterval = function (callback, repeat) {
global.clearTimeout = function (timer) {
if (timer instanceof process.Timer) {
+ timer.callback = null;
timer.stop();
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.