Commit ea8f5fe
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 <petrosagg@gmail.com>Drop
1 parent cf1f614 commit ea8f5fe
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments