fix NPE during tear down

bug: 13782489
Change-Id: I4807ffd5ed279b76d245b43c9717c94deb499568
diff --git a/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java b/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java
index dc767c9..d7ba82d 100644
--- a/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java
+++ b/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java
@@ -866,8 +866,7 @@
                         } break;
                     }
                 } catch (GlException e) {
-                    // should stop rendering
-                    mLooper.quit();
+                    //ignore as this can happen during tearing down
                 }
             }
         }