summaryrefslogtreecommitdiffstats
path: root/common/listener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/listener.cpp')
-rw-r--r--common/listener.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/listener.cpp b/common/listener.cpp
index 6f86ee5..8f7518f 100644
--- a/common/listener.cpp
+++ b/common/listener.cpp
@@ -397,6 +397,9 @@ void Listener::sendCommandCompleted(QLocalSocket *socket, uint messageId, bool s
397 auto command = Sink::Commands::CreateCommandCompletion(m_fbb, messageId, success); 397 auto command = Sink::Commands::CreateCommandCompletion(m_fbb, messageId, success);
398 Sink::Commands::FinishCommandCompletionBuffer(m_fbb, command); 398 Sink::Commands::FinishCommandCompletionBuffer(m_fbb, command);
399 Sink::Commands::write(socket, ++m_messageId, Sink::Commands::CommandCompletionCommand, m_fbb); 399 Sink::Commands::write(socket, ++m_messageId, Sink::Commands::CommandCompletionCommand, m_fbb);
400 if (m_exiting) {
401 socket->waitForBytesWritten();
402 }
400 m_fbb.Clear(); 403 m_fbb.Clear();
401} 404}
402 405