From 3896b47a3532aadcde43a3e7fed760a0f4a29e6b Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Mon, 10 Feb 2020 12:24:15 +0000 Subject: IVGCVSW-4328 BufferManager running out of buffers crashes application * Refactored SendCounterPacket classes, separated SendCounterPacket from Send thread * Created ISendThread.hpp, IConsumer, SendThread.hpp and SendThread.cpp * Injected IConsumer to BufferManager to notify SendThread when packet is ready to read Signed-off-by: Sadik Armagan Change-Id: I80f0bb8b8401c6bfd1611f7760217c6fe35d7ad8 --- src/profiling/RequestCounterDirectoryCommandHandler.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/profiling/RequestCounterDirectoryCommandHandler.cpp') diff --git a/src/profiling/RequestCounterDirectoryCommandHandler.cpp b/src/profiling/RequestCounterDirectoryCommandHandler.cpp index 2dbab3c1d5..5521a25f20 100644 --- a/src/profiling/RequestCounterDirectoryCommandHandler.cpp +++ b/src/profiling/RequestCounterDirectoryCommandHandler.cpp @@ -38,9 +38,6 @@ void RequestCounterDirectoryCommandHandler::operator()(const Packet& packet) m_SendCounterPacket.SendCounterDirectoryPacket(m_CounterDirectory); m_SendTimelinePacket.SendTimelineMessageDirectoryPackage(); - // Notify the Send Thread that new data is available in the Counter Stream Buffer - m_SendCounterPacket.SetReadyToRead(); - break; default: throw RuntimeException(boost::str(boost::format("Unknown profiling service state: %1%") -- cgit v1.2.1