mirror of https://github.com/keeweb/keeweb.git
Remove unnecesary fsWatcher check
This commit is contained in:
parent
9573ca8440
commit
1f752ffbdd
|
@ -139,7 +139,7 @@ const StorageFile = StorageBase.extend({
|
|||
}
|
||||
if (!watcher.callbacks.length) {
|
||||
this.logger.debug('Stop watch dir', names.dir);
|
||||
watcher.fsWatcher.close && watcher.fsWatcher.close();
|
||||
watcher.fsWatcher.close();
|
||||
delete fileWatchers[names.dir];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue