From 278b487cabcbe52b301a8023cd1362045b1a7132 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 6 May 2013 19:29:04 -0700 Subject: test: Fix tests and the pipe compiler --- src/libcore/task/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libcore/task') diff --git a/src/libcore/task/mod.rs b/src/libcore/task/mod.rs index 24889800175..ce1969a14a1 100644 --- a/src/libcore/task/mod.rs +++ b/src/libcore/task/mod.rs @@ -230,12 +230,14 @@ pub impl TaskBuilder { /// the child. fn supervised(&mut self) { self.opts.supervised = true; + self.opts.linked = false; } /// Link the child task's and parent task's failures. If either fails, the /// other will be killed. fn linked(&mut self) { self.opts.linked = true; + self.opts.supervised = false; } /** -- cgit 1.4.1-3-g733a5