summaryrefslogtreecommitdiff
path: root/src/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.h')
-rw-r--r--src/network.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network.h b/src/network.h
index b2cd8be..b1ecf86 100644
--- a/src/network.h
+++ b/src/network.h
@@ -162,7 +162,6 @@ struct Server::Priv
Identity self;
Bhv<LocalState> localState;
WatchedHead<LocalState> localHead;
- vector<unique_ptr<Service>> services;
thread threadListen;
thread threadAnnounce;
@@ -175,6 +174,9 @@ struct Server::Priv
int sock;
vector<in_addr> bcastAddresses;
+
+ // Start destruction with finalizing services
+ vector<unique_ptr<Service>> services;
};
}