diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs index 757c086a0abd..69fd09e618c1 100644 --- a/src/libcore/comm.rs +++ b/src/libcore/comm.rs @@ -94,9 +94,7 @@ resource port_ptr(po: *rust_port) { // Drain the port so that all the still-enqueued items get dropped while rustrt::rust_port_size(po) > 0u { - // FIXME: For some reason if we don't assign to something here - // we end up with invalid reads in the drop glue. - let _t = recv_::(po); + recv_::(po); } rustrt::del_port(po); }