aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/RequestCounterDirectoryCommandHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/RequestCounterDirectoryCommandHandler.cpp')
-rw-r--r--src/profiling/RequestCounterDirectoryCommandHandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/profiling/RequestCounterDirectoryCommandHandler.cpp b/src/profiling/RequestCounterDirectoryCommandHandler.cpp
index b8ac9d9426..2dbab3c1d5 100644
--- a/src/profiling/RequestCounterDirectoryCommandHandler.cpp
+++ b/src/profiling/RequestCounterDirectoryCommandHandler.cpp
@@ -34,8 +34,9 @@ void RequestCounterDirectoryCommandHandler::operator()(const Packet& packet)
% packet.GetPacketId()));
}
- // Write a Counter Directory packet to the Counter Stream Buffer
+ // Send all the packet required for the handshake with the external profiling service
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();