summaryrefslogtreecommitdiffstats
path: root/synchronizer/listener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'synchronizer/listener.cpp')
-rw-r--r--synchronizer/listener.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/synchronizer/listener.cpp b/synchronizer/listener.cpp
index f52e48c..d191bb8 100644
--- a/synchronizer/listener.cpp
+++ b/synchronizer/listener.cpp
@@ -243,6 +243,12 @@ void Listener::processCommand(int commandId, uint messageId, Client &client, uin
243 m_resource->processCommand(commandId, client.commandBuffer, size, m_pipeline); 243 m_resource->processCommand(commandId, client.commandBuffer, size, m_pipeline);
244 } 244 }
245 break; 245 break;
246 case Akonadi2::Commands::ShutdownCommand:
247 log(QString("\tReceived shutdown command from %1").arg(client.name));
248 callback();
249 m_server->close();
250 emit noClients();
251 return;
246 default: 252 default:
247 if (commandId > Akonadi2::Commands::CustomCommand) { 253 if (commandId > Akonadi2::Commands::CustomCommand) {
248 loadResource(); 254 loadResource();