-
Notifications
You must be signed in to change notification settings - Fork 480
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
fix: port fix discard all message on receiver droped #1121
base: master
Are you sure you want to change the base?
fix: port fix discard all message on receiver droped #1121
Conversation
331102b
to
bbff85d
Compare
Thanks for the PR. It seems that Miri and sanitizer reports memory leak: |
bb15d37
to
65e7ecf
Compare
The memory leak reported by miri is the I think std seems to assume that this behavior is expected. Do we need to make some extra efforts for this?
|
Assuming this PR is based on the rust-lang/rust PR I reviewed, the implementation should be fine with this. (But if so, please make that clear when submitting a patch based on someone else's work.) That said, we cannot merge PRs that have not passed CI, so you will need to adjust the failing test. (Perhaps a similar way to 2d3430f 's MIRI_LEAK_CHECK=1 approach is fine.) |
88ae19e
to
73da61c
Compare
@taiki-e I use |
c43d56b
to
8c20a2e
Compare
8c20a2e
to
2de82b8
Compare
@taiki-e ok, I ignore |
fix #1102
I think this fix should be done on the crossbeam channel