aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/blob.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-07-29 16:03:29 -0400
committerGitHub <noreply@github.com>2019-07-29 16:03:29 -0400
commit9e18166550d017224423fc006417fdaa7f1274eb (patch)
tree6b0175f91bd81b3f4a664d7b401a4e0ddd50fc9a /components/script/dom/blob.rs
parent7a570a7322917f2a9d12d0fce04ef6048b94f4ee (diff)
downloadservo-9e18166550d017224423fc006417fdaa7f1274eb.tar.gz
servo-9e18166550d017224423fc006417fdaa7f1274eb.zip
Don't panic if file manager thread is unreachable when cleaning up Blobs.
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r--components/script/dom/blob.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs
index b97b703e4bb..fbf3e5819be 100644
--- a/components/script/dom/blob.rs
+++ b/components/script/dom/blob.rs
@@ -296,7 +296,7 @@ impl Blob {
let msg = FileManagerThreadMsg::DecRef(f.id.clone(), origin, tx);
self.send_to_file_manager(msg);
- let _ = rx.recv().unwrap();
+ let _ = rx.recv();
}
}