commit | 477e29af0cfb02d33c329cc67e06adf0e685fcb0 | [log] [tgz] |
---|---|---|
author | Richard Uhler <ruhler@google.com> | Tue May 03 13:05:50 2016 -0700 |
committer | Richard Uhler <ruhler@google.com> | Tue May 10 09:21:43 2016 -0700 |
tree | 2e0858129688c0ee2f7c41b4529c76b3a7c99794 | |
parent | 36a94ab70d4ae1ce239022a5841abf3ffe1196e3 [diff] |
Hold a ClassLoader reference in NativeAllocationRegistry. So that the native library isn't unloaded before we have a chance to call the freeFunction. Bug: 28406866 (cherry picked from commit 7d3c7390a8cbeff12fe790e5d12da6e07cf8c298) Change-Id: I38edb9ba6855ef98743001e4bbf4fd80fb27873d