Exemplo n.º 1
0
void SQLiteCompiledSql::ReleaseSqlStatement()
{
    // Note that native_finalize() checks to make sure that nStatement is
    // non-null before destroying it.
    if (mNativeStatement != NULL) {
//        if (SQLiteDebug.DEBUG_ACTIVE_CURSOR_FINALIZATION) {
//            Log.v(TAG, "closed and deallocated DbObj (id#" + nStatement +")");
//        }
//        try {
        mDatabase->Lock();
        NativeFinalize();
        mNativeStatement = NULL;
//        } finally {
        mDatabase->Unlock();
//        }
    }
}
CSurfaceTexture::~CSurfaceTexture()
{
    NativeFinalize();
}
Exemplo n.º 3
0
void CMediaCodec::Finalize()
{
    NativeFinalize();
}
Exemplo n.º 4
0
CMediaCodec::~CMediaCodec()
{
    NativeFinalize();
}