Skip to content

Commit

Permalink
buffer count needs to be set after creation of shm writer
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed Apr 26, 2024
1 parent f3a58f3 commit 0ee1477
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ecal/core/src/readwrite/ecal_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@ namespace eCAL
case TLayer::eSendMode::smode_auto:
case TLayer::eSendMode::smode_on:
m_writer.shm = std::make_unique<CDataWriterSHM>(m_host_name, m_topic_name, m_topic_id);
m_writer.shm->SetBufferCount(m_buffering_shm);
#ifndef NDEBUG
Logging::Log(log_level_debug4, m_topic_name + "::CDataWriter::Create::SHM_WRITER");
#endif
Expand Down

0 comments on commit 0ee1477

Please sign in to comment.