test: Don't fill queue in run-pass/send-iloop. Closes #1244
This commit is contained in:
parent
b8fcf0ab0e
commit
2511299024
@ -14,7 +14,10 @@ fn iloop(&&_i: ()) {
|
||||
let p = comm::port::<()>();
|
||||
let c = comm::chan(p);
|
||||
while true {
|
||||
// Sending and receiving here because these actions yield,
|
||||
// at which point our child can kill us
|
||||
comm::send(c, ());
|
||||
comm::recv(p);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user