diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2015-05-19 16:14:25 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2015-05-19 16:14:25 +1000 |
commit | 35a570ab66227fb640e64bd50373f1e1a9f51b22 (patch) | |
tree | 13dbe09505867725431267f7bd7ad0b033dec1c8 /components/util/task.rs | |
parent | 90aacf00f866c7ef3b858d84585bd5142f74c9ee (diff) | |
download | servo-35a570ab66227fb640e64bd50373f1e1a9f51b22.tar.gz servo-35a570ab66227fb640e64bd50373f1e1a9f51b22.zip |
Fix several hangs / panics during pipeline cleanup of in progress loads.
This fixes a hang found while testing the jQuery test suite.
Diffstat (limited to 'components/util/task.rs')
-rw-r--r-- | components/util/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/task.rs b/components/util/task.rs index de206526f44..d00f29c1c67 100644 --- a/components/util/task.rs +++ b/components/util/task.rs @@ -18,7 +18,7 @@ pub fn spawn_named<F>(name: String, f: F) } /// Arrange to send a particular message to a channel if the task fails. -pub fn spawn_named_with_send_on_failure<F, T>(name: &'static str, +pub fn spawn_named_with_send_on_failure<F, T>(name: String, state: task_state::TaskState, f: F, msg: T, |