This commit is contained in:
Manav Rathi
2024-06-27 13:16:09 +05:30
parent dd3243492a
commit 7d46de139e

View File

@@ -1,3 +1,4 @@
import { terminateFaceWorker } from "@/new/photos/services/face";
import { clearFaceData } from "@/new/photos/services/face/db";
import { clearFeatureFlagSessionState } from "@/new/photos/services/feature-flags";
import log from "@/next/log";
@@ -41,6 +42,12 @@ export const photosLogout = async () => {
ignoreError("CLIP", e);
}
try {
terminateFaceWorker();
} catch (e) {
ignoreError("face", e);
}
const electron = globalThis.electron;
if (electron) {
try {