Auto merge of #20877 - servo:jdm-patch-6, r=emilio

Be less judgemental when tearing down WebGL rendering contexts

r? nox

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because it relies on the webgl thread behaving badly.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20877)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-05-29 15:55:36 -04:00 committed by GitHub
commit 11a89bcc47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1193,7 +1193,7 @@ impl WebGLRenderingContext {
impl Drop for WebGLRenderingContext { impl Drop for WebGLRenderingContext {
fn drop(&mut self) { fn drop(&mut self) {
self.webgl_sender.send_remove().unwrap(); let _ = self.webgl_sender.send_remove();
} }
} }