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...
This commit is contained in:
Ryan Dahl committed 2010-10-01 16:13:59 -07:00
1 parent 16f736200a
commit 80974dc85b
1 file changed
+1
+1
View File
@@ -603,6 +603,7 @@ global.setInterval = function (callback, repeat) {
global.clearTimeout = function (timer) {
if (timer instanceof process.Timer) {
timer.callback = null;
timer.stop();
}
};