Skip to content

Commit 0c9de1d

Browse files
committed
---
yaml --- r: 12089 b: refs/heads/master c: cb0eeed h: refs/heads/master i: 12087: 8ba748e v: v3
1 parent 002a7e5 commit 0c9de1d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 372673b58c09355c6ca963a05e2cbc142b832eac
2+
refs/heads/master: cb0eeed539a8b4730203db9e1c2dff42808ac1a9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/libcore/comm.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ resource port_ptr<T: send>(po: *rust_port) {
9494

9595
// Drain the port so that all the still-enqueued items get dropped
9696
while rustrt::rust_port_size(po) > 0u {
97-
// FIXME: For some reason if we don't assign to something here
98-
// we end up with invalid reads in the drop glue.
99-
let _t = recv_::<T>(po);
97+
recv_::<T>(po);
10098
}
10199
rustrt::del_port(po);
102100
}

0 commit comments

Comments
 (0)