WIP: message delivery status and refresh safety; fix reconcile listener recursion
The transcript listener read the lazily built _controller while _attach was still building it (load() notifies synchronously), so it built another controller, recursively, until the test process ran out of memory.
This commit is contained in:
@@ -26,6 +26,13 @@ class _DelayedDraftStore implements ChatDraftStore {
|
||||
writes.add(text);
|
||||
return true;
|
||||
}
|
||||
|
||||
@override
|
||||
Future<List<Object?>> readUnsent(String sessionId) async => const [];
|
||||
|
||||
@override
|
||||
Future<bool> writeUnsent(String sessionId, List<Object?> intents) async =>
|
||||
true;
|
||||
}
|
||||
|
||||
void main() {
|
||||
|
||||
Reference in New Issue
Block a user