fix(profiles): binder settle, active-id, and rebind correctness
This commit is contained in:
@@ -34,6 +34,10 @@ abstract class ApiCache {
|
||||
return _instance!;
|
||||
}
|
||||
|
||||
/// Like [instance], but `null` before any backend cache registered —
|
||||
/// for best-effort callers (nothing cached yet means nothing to clear).
|
||||
static ApiCache? get maybeInstance => _instance;
|
||||
|
||||
static final Map<MediaBackend, ApiCache> _byBackend = {};
|
||||
|
||||
/// Subclasses call this from their own `initialize` to register themselves
|
||||
|
||||
Reference in New Issue
Block a user