core: Remove resolved FIXME around port destruction
This commit is contained in:
@@ -106,8 +106,6 @@ class port_ptr<T:send> {
|
|||||||
rustrt::rust_port_begin_detach(self.po, yieldp);
|
rustrt::rust_port_begin_detach(self.po, yieldp);
|
||||||
if yield != 0u {
|
if yield != 0u {
|
||||||
// Need to wait for the port to be detached
|
// 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();
|
task::yield();
|
||||||
}
|
}
|
||||||
rustrt::rust_port_end_detach(self.po);
|
rustrt::rust_port_end_detach(self.po);
|
||||||
|
|||||||
Reference in New Issue
Block a user