From 37315f877ef27d0f8585389f0c83cd00a31577c1 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Mon, 21 Nov 2016 15:22:48 +0100 Subject: Reworked server and client to do one mix and shutdown. This is done as cleanly as possible to track down any memory leaks. unfortunately there is still one async operation running on the nodes. when there should be none. So the nodes are still forced to stop with a. io_service.stop(). --- node/node.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/node.hpp') diff --git a/node/node.hpp b/node/node.hpp index b166c71..db3c66f 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -83,6 +83,8 @@ class Node void start_initialisation(); void start_precomputation(); void start_realtime_phase(); + void shutdown(); + bool send_bye(bool got_bye); void handle_node_initialization(cmix_proto::Initialization const& init); void handle_node_secretkey(cmix_proto::SecretKey const& secret); -- cgit v1.2.3-70-g09d2