Skip to content

Commit 73f07c1

Browse files
Merge pull request #995 from Pliner/fix-994
BasicGetResult should get a copy of HandleBasicGetOk's body
2 parents 38620b1 + 1aed1c9 commit 73f07c1

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)