mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Don't panic when tearing down a WebGL context and the thead is unreachable.
This avoids some cascading double-panics when there are errors in the WebGL rendering thread.
This commit is contained in:
parent
7cc4165dda
commit
b1202cfa9f
1 changed files with 1 additions and 1 deletions
|
@ -1193,7 +1193,7 @@ impl WebGLRenderingContext {
|
|||
|
||||
impl Drop for WebGLRenderingContext {
|
||||
fn drop(&mut self) {
|
||||
self.webgl_sender.send_remove().unwrap();
|
||||
let _ = self.webgl_sender.send_remove();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue