From 25aea2a072ab75ac766c00aa9ddf3c022aa95d40 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 27 Apr 2012 04:39:05 +0200 Subject: [PATCH] fs: hook up handle wrap to owning object --- lib/fs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fs.js b/lib/fs.js index a3e68cb06bf..0530344e0b7 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -737,6 +737,7 @@ function FSWatcher() { var self = this; var FSEvent = process.binding('fs_event_wrap').FSEvent; this._handle = new FSEvent(); + this._handle.owner = this; this._handle.onchange = function(status, event, filename) { if (status) {