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:
parent
ec279d4f5c
commit
5842db2cc3
@ -14,7 +14,9 @@ const stopCatalogSyncInjectable = getInjectable({
|
||||
|
||||
return {
|
||||
run: () => {
|
||||
catalogSyncToRenderer.stop();
|
||||
if (catalogSyncToRenderer.started) {
|
||||
catalogSyncToRenderer.stop();
|
||||
}
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user