Commit 19219f5
committed
sync::mpsc: prevent double free on
This PR is fixing a regression introduced by #121646 that can lead to a
double free when dropping the channel.
The details of the bug can be found in the corresponding crossbeam PR
crossbeam-rs/crossbeam#1187
Signed-off-by: Petros Angelatos <[email protected]>Drop
1 parent 0f99df3 commit 19219f5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
| 569 | + | |
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
| |||
0 commit comments