diff options
author | Stephen Hines <srhines@google.com> | 2011-08-31 17:41:39 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2011-08-31 17:41:39 -0700 |
commit | 514f9790fdf180ca3c58e508cbd36c520fa7be08 (patch) | |
tree | 411f9a35d32c4e65528b4eb31b78b10acd426ded /libs/rs/driver/rsdCore.cpp | |
parent | 9b718682ed8fd06e38598f1a0a24d42025e9267d (diff) | |
download | frameworks_base-514f9790fdf180ca3c58e508cbd36c520fa7be08.zip frameworks_base-514f9790fdf180ca3c58e508cbd36c520fa7be08.tar.gz frameworks_base-514f9790fdf180ca3c58e508cbd36c520fa7be08.tar.bz2 |
Call .rs.dtor() when tearing down Scripts.
BUG=5186750
This allows us to properly reference count any globals (static or extern) that
need to potentially be cleaned up.
Change-Id: I03d2c38c1e7a4ca96c40003d2eeecb6f395d5835
Diffstat (limited to 'libs/rs/driver/rsdCore.cpp')
-rw-r--r-- | libs/rs/driver/rsdCore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/rs/driver/rsdCore.cpp b/libs/rs/driver/rsdCore.cpp index 171d045..a38fff7 100644 --- a/libs/rs/driver/rsdCore.cpp +++ b/libs/rs/driver/rsdCore.cpp @@ -60,6 +60,7 @@ static RsdHalFunctions FunctionTable = { rsdScriptInvokeRoot, rsdScriptInvokeForEach, rsdScriptInvokeInit, + rsdScriptInvokeFreeChildren, rsdScriptSetGlobalVar, rsdScriptSetGlobalBind, rsdScriptSetGlobalObj, |