提交 4653b460 编写于 作者: R Rajan 提交者: Matteo Merli

Avoid extra retain of entry data (#326)

上级 da9f1320
......@@ -88,7 +88,6 @@ final class EntryImpl extends AbstractReferenceCounted implements Entry, Compara
entry.entryId = other.entryId;
entry.data = RecyclableDuplicateByteBuf.create(other.data);
entry.setRefCnt(1);
entry.data.retain();
return entry;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册