Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.1 No longer sets closeCode on sink.close #383

Open
hagen00 opened this issue Oct 22, 2024 · 0 comments
Open

3.0.1 No longer sets closeCode on sink.close #383

hagen00 opened this issue Oct 22, 2024 · 0 comments

Comments

@hagen00
Copy link

hagen00 commented Oct 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant