mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-12-01 22:57:48 +01:00
Release RB properly
This commit is contained in:
1 parent
7552ac9c90
commit
8e61fddee1
1 file changed
+1
-1
@@ -93,6 +93,6 @@ int main (int argc, char *argv[]) {
|
||||
(char*)(&data.first->recv_packets_2), {1}, 8,
|
||||
"uint64", "little");
|
||||
|
||||
ring_buffer.reserve(data.first);
|
||||
ring_buffer.release(data.first->buffer_slot_index);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user