From 118658822d13ab5a8620604b9f4c035b8d0660f3 Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Sun, 16 Oct 2022 02:21:48 +0530 Subject: [PATCH] feat: strike of collection from electron-store upon removal --- packages/bruno-electron/src/ipc/local-collection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/bruno-electron/src/ipc/local-collection.js b/packages/bruno-electron/src/ipc/local-collection.js index c29ef1a00..0032df1c7 100644 --- a/packages/bruno-electron/src/ipc/local-collection.js +++ b/packages/bruno-electron/src/ipc/local-collection.js @@ -155,6 +155,7 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection if(watcher && mainWindow) { console.log(`watcher stopWatching: ${collectionPath}`); watcher.removeWatcher(collectionPath, mainWindow); + lastOpenedCollections.remove(collectionPath); } });