fix: port fix discard all message on receiver droped#1121
fix: port fix discard all message on receiver droped#1121driftluo wants to merge 3 commits intocrossbeam-rs:masterfrom
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