core: Remove resolved FIXME around port destruction

This commit is contained in:
Brian Anderson 2012-06-21 13:41:56 -07:00
parent c2222878c8
commit 453e29cc39

View File

@ -106,8 +106,6 @@ fn listen<T: send, U>(f: fn(chan<T>) -> 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);