Browse Source

fs: hook up handle wrap to owning object

v0.9.1-release
Ben Noordhuis 13 years ago
parent
commit
25aea2a072
  1. 1
      lib/fs.js

1
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) {

Loading…
Cancel
Save