From 34725687748cc2b4ace2bdb49becfdcd569e9a5d Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Thu, 5 Feb 2015 09:06:30 -0800 Subject: Don't try to fully tear down program in terminate() bug:19277550 The program will be destroyed anyway by nature of the program cache cleanup. Change-Id: I304becd34fdf40baf314bae8b37d2c072ad44409 --- libs/hwui/Caches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp index 03b8283b80e1..af1b1cdd09e8 100644 --- a/libs/hwui/Caches.cpp +++ b/libs/hwui/Caches.cpp @@ -199,7 +199,7 @@ void Caches::terminate() { fboCache.clear(); programCache.clear(); - setProgram(nullptr); + mProgram = nullptr; patchCache.clear(); -- cgit v1.2.3-59-g8ed1b