3.0.1 No longer sets closeCode on sink.close
Opened this issue · 0 comments
hagen00 commented
In version 3.0.1
closeCode is no longer set. I have reproduced as follows:
Code to reproduce
// in button onPressed:
await channel?.sink.close(status.normalClosure);
// in onDone callback
print('Close Code: ${channel?.closeCode}');
Results:
Using version 2.4.5
the closeCode prints correctly.
Using version 3.0.1
, the closeCode is null