зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1370121 - Catch exceptions when destroying GeckoSurfaceTexture r=jchen
MozReview-Commit-ID: KDoj9s0ebhY
This commit is contained in:
Родитель
2d0e498645
Коммит
35f072dc23
|
@ -112,7 +112,12 @@ public final class GeckoSurfaceTexture extends SurfaceTexture {
|
|||
setListener(null);
|
||||
|
||||
if (Versions.feature16Plus) {
|
||||
detachFromGLContext();
|
||||
try {
|
||||
detachFromGLContext();
|
||||
} catch (Exception e) {
|
||||
// This can throw if the EGL context is not current
|
||||
// but we can't do anything about that now.
|
||||
}
|
||||
}
|
||||
|
||||
release();
|
||||
|
|
Загрузка…
Ссылка в новой задаче