From 74e12fcef682acdbec6c3f4a3fb29b7583e7d1b6 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Wed, 11 Aug 2010 16:08:26 -0700 Subject: Ignore upcall_flush for channels that are disassociated from ports. This makes task-comm-10 break a little less hard, but it still leaks because messages pending in the channel are never freed. --- src/test/run-pass/task-comm-10.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/run-pass/task-comm-10.rs b/src/test/run-pass/task-comm-10.rs index 529ef6f5..4cdcf18b 100644 --- a/src/test/run-pass/task-comm-10.rs +++ b/src/test/run-pass/task-comm-10.rs @@ -2,8 +2,7 @@ io fn start(chan[chan[str]] c) { let port[str] p = port(); c <| chan(p); auto a <- p; - auto b <- p; - // Never read the second string. + // auto b <- p; // Never read the second string. } io fn main() { -- cgit v1.2.3