Stop trying to restart catalog sync and updating of application when reloading window (#5735)

This commit is contained in:
Janne Savolainen authored and GitHub committed 2022-06-29 08:22:08 -04:00
1 parent 7ab3d419b3
commit 5d76dd4fc2
4 files changed
+4 -41

No files matched your search

@@ -14,7 +14,9 @@ const startCatalogSyncInjectable = getInjectable({
return {
run: async () => {
await catalogSyncToRenderer.start();
if (!catalogSyncToRenderer.started) {
await catalogSyncToRenderer.start();
}
},
};
},