Implement java interface for RS shutdown and fix shutdown deadlock with the command fifo.
This commit is contained in:
@ -206,6 +206,13 @@ public class RenderScript {
|
||||
}
|
||||
}
|
||||
|
||||
public void destroy() {
|
||||
nContextDestroy(mContext);
|
||||
mContext = 0;
|
||||
|
||||
nDeviceDestroy(mDev);
|
||||
mDev = 0;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
// Triangle Mesh
|
||||
|
Reference in New Issue
Block a user