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/layout | |
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/layout')
-rw-r--r-- | components/layout/layout_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 9ac33d0d267..83538a3818c 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -207,7 +207,7 @@ impl LayoutTaskFactory for LayoutTask { memory_profiler_chan: mem::ProfilerChan, shutdown_chan: Sender<()>) { let ConstellationChan(con_chan) = constellation_chan.clone(); - spawn_named_with_send_on_failure("LayoutTask", task_state::LAYOUT, move || { + spawn_named_with_send_on_failure(format!("LayoutTask {:?}", id), task_state::LAYOUT, move || { { // Ensures layout task is destroyed before we send shutdown message let sender = chan.sender(); let layout = LayoutTask::new(id, |