mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +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
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue