flushEdits

Flushes committed text edits before the adapter flushes its bounded outgoing transport. Callback failure or terminal state-store cutoff closes the session through the same guarded cleanup as updates.