mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Fetch cancellation: Add cancel_chan to FetchContext
This commit is contained in:
parent
b5a205d92e
commit
1dfb125cc9
10 changed files with 22 additions and 16 deletions
|
@ -61,6 +61,7 @@ fn new_fetch_context(dc: Option<Sender<DevtoolsControlMsg>>) -> FetchContext {
|
|||
user_agent: DEFAULT_USER_AGENT.into(),
|
||||
devtools_chan: dc,
|
||||
filemanager: FileManager::new(),
|
||||
cancel_chan: None,
|
||||
}
|
||||
}
|
||||
impl FetchTaskTarget for FetchResponseCollector {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue