mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
add unwrap
to send/recv
calls
This commit is contained in:
parent
3da41c2b16
commit
685fee02a0
30 changed files with 100 additions and 100 deletions
|
@ -260,7 +260,7 @@ impl XMLHttpRequest {
|
|||
// perhaps should be handled by the resource_loader?
|
||||
spawn_named("XHR:Cors".to_owned(), move || {
|
||||
let response = req2.http_fetch();
|
||||
chan.send(response);
|
||||
chan.send(response).unwrap();
|
||||
});
|
||||
|
||||
select! (
|
||||
|
@ -282,7 +282,7 @@ impl XMLHttpRequest {
|
|||
}
|
||||
|
||||
// Step 10, 13
|
||||
resource_task.send(Load(load_data));
|
||||
resource_task.send(Load(load_data)).unwrap();
|
||||
|
||||
|
||||
let progress_port;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue