π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fin
Manav Rathi8726ca8a59de
diff --git a/web/apps/photos/src/services/logout.ts b/web/apps/photos/src/services/logout.tsindex 7431923c84..a6b155c8c2 100644--- a/web/apps/photos/src/services/logout.ts+++ b/web/apps/photos/src/services/logout.ts@@ -1,6 +1,5 @@import log from "@/next/log";import { accountLogout } from "@ente/accounts/services/logout";-import { Events, eventBus } from "@ente/shared/events";import { clipService } from "services/clip-service";import DownloadManager from "./download";import exportService from "./export";@@ -48,10 +47,4 @@ export const photosLogout = async () => {log.error("Ignoring error during logout (electron)", e);}}-- try {- eventBus.emit(Events.LOGOUT);- } catch (e) {- log.error("Ignoring error in event-bus logout handlers", e);- }};diff --git a/web/apps/photos/src/services/machineLearning/mlWorkManager.ts b/web/apps/photos/src/services/machineLearning/mlWorkManager.tsindex 4b7f8e3f46..d696e883f7 100644--- a/web/apps/photos/src/services/machineLearning/mlWorkManager.ts+++ b/web/apps/photos/src/services/machineLearning/mlWorkManager.ts@@ -123,7 +123,6 @@ class MLWorkManager {});this.mlSearchEnabled = false;- eventBus.on(Events.LOGOUT, this.logoutHandler.bind(this), this);this.debouncedLiveSyncIdle = debounce(() => this.onLiveSyncIdle(),LIVE_SYNC_IDLE_DEBOUNCE_SEC * 1000,