diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs index 7f43f6f308c..722c485d72e 100644 --- a/src/libcore/comm.rs +++ b/src/libcore/comm.rs @@ -106,8 +106,6 @@ fn listen(f: fn(chan) -> U) -> U { rustrt::rust_port_begin_detach(self.po, yieldp); if yield != 0u { // Need to wait for the port to be detached - // FIXME: If this fails then we're going to leave our port - // in a bogus state. (Issue #1988) task::yield(); } rustrt::rust_port_end_detach(self.po);