Fin
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user