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 SavolainenandMikko Aspiala committed 2022-05-11 08:25:36 +03:00
1 parent ec279d4f5c
commit 5842db2cc3
1 file changed
+3 -1
@@ -14,7 +14,9 @@ const stopCatalogSyncInjectable = getInjectable({
return {
run: () => {
catalogSyncToRenderer.stop();
if (catalogSyncToRenderer.started) {
catalogSyncToRenderer.stop();
}
},
};
},