Files
piik/prototype
T
AAA 0cdfe8bdfc fix(native): close a transport before its last drain reads consent
Since the recovery change the drain fails an established transport that has no
send consent. close() disconnects the SDK and then drains, and a disconnected
SDK has no consent, so every orderly close of an established transport emitted
Failed first. A local input then ended with local_input_failed instead of Ok,
and two local-input tests failed.

The transport is now marked Closed before it disconnects the SDK. The state
says what it is, fail() returns by its own guard and no event is emitted.
0cdfe8bdfc · 2026-11-26 05:37:13 +08:00
History
..