Librechat-Mobile/core/data
Garfie e2e3423dcb fix(data): mutex guard clearTokens vs refreshAccessToken race
Wraps `CommonTokenDataStore.clearTokens()` in the existing `refreshMutex`,
serializing logout against any in-flight `refreshAccessToken()` call
(which already holds the same mutex for its full HTTP duration). Without
this, a refresh completing successfully after `clearTokens()` would
silently resurrect the just-killed session by writing a fresh token to
disk. A private `clearTokensLocked()` helper holds the inner clear logic
and is called from inside `refreshAccessToken()` to avoid self-deadlock
on the non-reentrant mutex.
2026-04-27 18:32:06 -06:00
..
schemas/com.garfiec.librechat.core.data.db.LibreChatDatabase chore: rename package com.librechat to com.garfiec.librechat 2026-04-03 16:12:37 -05:00
src fix(data): mutex guard clearTokens vs refreshAccessToken race 2026-04-27 18:32:06 -06:00
build.gradle.kts fix(data): mutex guard clearTokens vs refreshAccessToken race 2026-04-27 18:32:06 -06:00
CLAUDE.md chore: rename project from LibreChat Android to LibreChat Mobile 2026-04-03 16:56:36 -05:00