From 9368ebf06c1c1b2ca6fb7a53cde885ea0c0e2498 Mon Sep 17 00:00:00 2001 From: Peter Date: Fri, 3 Nov 2023 11:57:08 -0400 Subject: [PATCH] Fix bug in ControlledFragmentAssembler.OnFragment: Assign to the action return value. --- aeron/controlledfragmentassembler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aeron/controlledfragmentassembler.go b/aeron/controlledfragmentassembler.go index 5d5d78a2..f6434d00 100644 --- a/aeron/controlledfragmentassembler.go +++ b/aeron/controlledfragmentassembler.go @@ -74,7 +74,7 @@ func (f *ControlledFragmentAssembler) OnFragment( buffer.WriteBytes(builder, offset, length) if (flags & endFrag) == endFrag { msgLength := builder.Len() - action := f.delegate( + action = f.delegate( atomic.MakeBuffer(builder.Bytes(), msgLength), int32(0), int32(msgLength),