提交 de10257e 编写于 作者: T TonyJiangWJ

修复内存泄露问题

上级 0b34ad5b
......@@ -54,7 +54,7 @@ public class OCRPredictorNative {
}
public void destory() {
if (nativePointer > 0) {
if (nativePointer != 0) {
release(nativePointer);
nativePointer = 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册