Skip to content

Commit 1aed1c9

Browse files
committed
BasicGetResult should get a copy of HandleBasicGetOk's body
1 parent 38620b1 commit 1aed1c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/RabbitMQ.Client/client/impl/ModelBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ public virtual void HandleBasicGetOk(ulong deliveryTag,
725725
routingKey,
726726
messageCount,
727727
basicProperties,
728-
body);
728+
body.ToArray());
729729
k.HandleCommand(IncomingCommand.Empty); // release the continuation.
730730
}
731731

0 commit comments

Comments
 (0)