Skip to content

Commit

Permalink
Remove stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Apr 3, 2019
1 parent ccd9ff5 commit 8dcbac0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/fsevents-handler.js
Expand Up @@ -36,7 +36,6 @@ if (fsevents) {
* @type {Map<Path,FsEventsWatchContainer>}
*/
const FSEventsWatchers = new Map();
const emptyArr = [];

// Threshold of duplicate path prefixes at which to start
// consolidating going forward
Expand Down Expand Up @@ -128,7 +127,6 @@ function setFSEventsListener(path, realPath, listener, rawEmitter) {
if (!wl.size) {
FSEventsWatchers.delete(watchPath);
cont.watcher.stop();
cont.listeners = emptyArr;
cont.rawEmitter = cont.watcher = null;
Object.freeze(cont);
Object.freeze(cont.listeners);
Expand Down

0 comments on commit 8dcbac0

Please sign in to comment.