mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-12 11:45:35 +02:00
Add proper cleanup
This commit is contained in:
@@ -8,6 +8,8 @@ class RamBufferWriter {
|
||||
const std::string detector_name_;
|
||||
|
||||
int shm_fd_;
|
||||
size_t buffer_size_;
|
||||
void* buffer_;
|
||||
|
||||
public:
|
||||
RamBufferWriter(const std::string& detector_name,
|
||||
|
||||
Reference in New Issue
Block a user