mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-01 23:22:23 +02:00
Add destructor to Recv Module
This commit is contained in:
@@ -24,6 +24,8 @@ public:
|
||||
RingBuffer& ring_buffer,
|
||||
const header_map& header_values);
|
||||
|
||||
virtual ~ZmqRecvModule();
|
||||
|
||||
void start_recv(const std::string& connect_address,
|
||||
const uint8_t n_receiving_threads);
|
||||
void stop_recv();
|
||||
|
||||
@@ -15,6 +15,11 @@ ZmqRecvModule::ZmqRecvModule(
|
||||
is_saving_(false)
|
||||
{}
|
||||
|
||||
ZmqRecvModule::~ZmqRecvModule()
|
||||
{
|
||||
stop_recv();
|
||||
}
|
||||
|
||||
void ZmqRecvModule::start_recv(
|
||||
const string& connect_address,
|
||||
const uint8_t n_receiving_threads)
|
||||
|
||||
Reference in New Issue
Block a user