diff options
| author | Miao Wang <miaowang@google.com> | 2015-09-11 21:35:26 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-09-11 21:35:26 +0000 |
| commit | 5db7c6879e14c54e82bbebbdfdfb80ddc7f353ba (patch) | |
| tree | d6c7bae0aa6329a34e4ca55d735c389fef897c3e /cpp/RenderScript.cpp | |
| parent | 6e834c521595607676d4fb772bd78143af926ba5 (diff) | |
| parent | e8f9651ed5678846959771bc32a310674408e8a8 (diff) | |
Merge "C++ API call RS::finish() before destroy rsContext"
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; |
