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

Make reloading of application window not restart periodical check for updates

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-06-27 13:34:06 +03:00
parent 42e633d0b9
commit 108bf8a064
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -16,7 +16,7 @@ const startCheckingForUpdatesInjectable = getInjectable({
return { return {
run: async () => { run: async () => {
if (updatingIsEnabled) { if (updatingIsEnabled && !periodicalCheckForUpdates.started) {
await periodicalCheckForUpdates.start(); await periodicalCheckForUpdates.start();
} }
}, },