mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix several hangs / panics during pipeline cleanup of in progress loads.
This fixes a hang found while testing the jQuery test suite.
This commit is contained in:
parent
90aacf00f8
commit
35a570ab66
7 changed files with 46 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue