commit | 34725687748cc2b4ace2bdb49becfdcd569e9a5d | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Thu Feb 05 09:06:30 2015 -0800 |
committer | Chris Craik <ccraik@google.com> | Thu Feb 05 09:27:23 2015 -0800 |
tree | 866b508e834720600c46c9d0f4a2500cf9cb700c | |
parent | 031888744e24b5c7243ac99ec98b78aff5db1c78 [diff] [blame] |
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
diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp index 03b8283..af1b1cd 100644 --- a/libs/hwui/Caches.cpp +++ b/libs/hwui/Caches.cpp
@@ -199,7 +199,7 @@ fboCache.clear(); programCache.clear(); - setProgram(nullptr); + mProgram = nullptr; patchCache.clear();