diff options
| author | Miao Wang <miaowang@google.com> | 2015-09-11 14:30:15 -0700 |
|---|---|---|
| committer | Miao Wang <miaowang@google.com> | 2015-09-11 14:30:15 -0700 |
| commit | e8f9651ed5678846959771bc32a310674408e8a8 (patch) | |
| tree | f687e3e7b0e35a229654b2103f7bed4fcd9640e2 /cpp/RenderScript.cpp | |
| parent | 97a1d01fc13bfe8eabed9f619904bc31997d2ced (diff) | |
C++ API call RS::finish() before destroy rsContext
Change-Id: I54e78db8bc36d5c7432b8233ebace0d66f83c549
Diffstat (limited to 'cpp/RenderScript.cpp')
| -rw-r--r-- | cpp/RenderScript.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/RenderScript.cpp b/cpp/RenderScript.cpp index 66a7421c..73a9a56f 100644 --- a/cpp/RenderScript.cpp +++ b/cpp/RenderScript.cpp @@ -59,6 +59,7 @@ RS::~RS() { mMessageRun = false; if (mContext) { + finish(); RS::dispatch->ContextDeinitToClient(mContext); void *res = nullptr; |
