Add proper cleanup

This commit is contained in:
2020-09-02 14:00:30 +02:00
parent 5b9b650803
commit 20f5557cc1
2 changed files with 12 additions and 5 deletions
+2
View File
@@ -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,