Skip to content

Commit

Permalink
Remove invalid fsw.closed.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Sep 26, 2019
1 parent ef3de03 commit f696006
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/fsevents-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ function setFSEventsListener(path, realPath, listener, rawEmitter, fsw) {
// removes this instance's listeners and closes the underlying fsevents
// instance if there are no more listeners left
return () => {
if (fsw.closed) return;
const lst = cont.listeners;

lst.delete(filteredListener);
Expand Down

0 comments on commit f696006

Please sign in to comment.