feat: strike of collection from electron-store upon removal

This commit is contained in:
Anoop M D 2022-10-16 02:21:48 +05:30
parent 0709666b03
commit 118658822d

View File

@ -155,6 +155,7 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection
if(watcher && mainWindow) { if(watcher && mainWindow) {
console.log(`watcher stopWatching: ${collectionPath}`); console.log(`watcher stopWatching: ${collectionPath}`);
watcher.removeWatcher(collectionPath, mainWindow); watcher.removeWatcher(collectionPath, mainWindow);
lastOpenedCollections.remove(collectionPath);
} }
}); });