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

Make quit of hidden Lens not blow up

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-05-02 10:54:59 +03:00
parent ec279d4f5c
commit 5842db2cc3
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -14,7 +14,9 @@ const stopCatalogSyncInjectable = getInjectable({
return {
run: () => {
catalogSyncToRenderer.stop();
if (catalogSyncToRenderer.started) {
catalogSyncToRenderer.stop();
}
},
};
},