Skip to content

Commit

Permalink
Revert "xroot: fix write message ref count"
Browse files Browse the repository at this point in the history
This reverts commit 51cbf8e.
  • Loading branch information
kofemann committed Oct 24, 2022
1 parent ebe5ae3 commit d596cee
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ protected OkResponse<WriteRequest> doOnWrite(ChannelHandlerContext ctx, WriteReq
FileChannel fileChannel = getOpenFile(msg.getFileHandle()).fileChannel();
fileChannel.position(msg.getWriteOffset());
msg.getData(fileChannel);
// REVISIT!!! this should happen automatically!
msg.retain();
return withOk(msg);
} catch (IOException e) {
throw new XrootdException(kXR_IOError, e.getMessage());
Expand Down

0 comments on commit d596cee

Please sign in to comment.