Merge "Revert "MemoryIntArray: don't double close."" into qt-dev
This commit is contained in:
@@ -142,6 +142,8 @@ static void android_util_MemoryIntArray_close(JNIEnv* env, jobject clazz, jint f
|
|||||||
jniThrowException(env, "java/io/IOException", "ashmem unpinning failed");
|
jniThrowException(env, "java/io/IOException", "ashmem unpinning failed");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
close(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
static jint android_util_MemoryIntArray_get(JNIEnv* env, jobject clazz,
|
static jint android_util_MemoryIntArray_get(JNIEnv* env, jobject clazz,
|
||||||
|
|||||||
Reference in New Issue
Block a user