This commit is contained in:
Manav Rathi
2024-06-27 20:08:47 +05:30
parent d33ba285a6
commit 9f9038ff97

View File

@@ -18,6 +18,9 @@ export const photosLogout = async () => {
const ignoreError = (label: string, e: unknown) =>
log.error(`Ignoring error during logout (${label})`, e);
// Terminate any workers before clearing persistent state.
// See: [Note: Caching IDB instances in separate execution contexts].
await accountLogout();
try {