diff options
| author | 2015-02-05 09:06:30 -0800 | |
|---|---|---|
| committer | 2015-02-05 09:27:23 -0800 | |
| commit | 34725687748cc2b4ace2bdb49becfdcd569e9a5d (patch) | |
| tree | 866b508e834720600c46c9d0f4a2500cf9cb700c | |
| parent | 031888744e24b5c7243ac99ec98b78aff5db1c78 (diff) | |
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
| -rw-r--r-- | libs/hwui/Caches.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |