From cb0eeed539a8b4730203db9e1c2dff42808ac1a9 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Fri, 23 Mar 2012 15:36:40 -0700 Subject: [PATCH] Remove a FIXME and workaround that appear to be obsolete --- src/libcore/comm.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); }