feat: updates

This commit is contained in:
lohxt1 2024-09-23 18:07:19 +05:30
parent 6ff12f93cb
commit 9059847d86

View File

@ -494,8 +494,11 @@ class Watcher {
}
resetWatcher() {
_.each(this.watchers, w => w?.close?.());
this.watchers = {};
try {
_.each(this.watchers, w => w?.close?.());
this.watchers = {};
}
catch(error) {}
}
removeWatcher(watchPath, win) {