1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Make reloading application not restart the catalog sync

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-06-23 10:23:41 +03:00
parent b95ab425ba
commit 1c1408eb12
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

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