From 9e18166550d017224423fc006417fdaa7f1274eb Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 29 Jul 2019 16:03:29 -0400 Subject: [PATCH] Don't panic if file manager thread is unreachable when cleaning up Blobs. --- components/script/dom/blob.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }