summaryrefslogtreecommitdiffstats
path: root/messagebus
diff options
context:
space:
mode:
Diffstat (limited to 'messagebus')
-rw-r--r--messagebus/src/vespa/messagebus/network/rpcnetwork.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp b/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp
index 1ea5654a632..a454f8382c0 100644
--- a/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp
+++ b/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp
@@ -378,13 +378,13 @@ void
RPCNetwork::sync()
{
SyncTask task(_scheduler);
+ _executor->sync();
task.await();
}
void
RPCNetwork::shutdown()
{
- _executor->sync();
_transport->ShutDown(false);
_threadPool->Close();
_executor->shutdown();