Permalink
Browse files

No longer using the global variable "stat" in unwatchFile

  • Loading branch information...
1 parent 41eca91 commit d29e62d564a93c65cd2331f32ba8364e07c6aa5f @elarkin elarkin committed with ry Sep 26, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/fs.js
View
1 lib/fs.js
@@ -456,6 +456,7 @@ fs.watchFile = function (filename) {
};
fs.unwatchFile = function (filename) {
+ var stat;
if (statWatchers[filename]) {
stat = statWatchers[filename];
stat.stop();

0 comments on commit d29e62d

Please sign in to comment.