diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-05-09 09:45:53 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-05-09 09:45:53 +0000 |
commit | efad1d6733cd7e75a4e6c846ad7c031a0167b8be (patch) | |
tree | 93c8d652b78ae04b5b4a5c8e1e8abe398d4dd8c7 /src/vpn | |
parent | d96c9d244148f2ee984c206b71987ba6df0ec820 (diff) | |
download | gnunet-efad1d6733cd7e75a4e6c846ad7c031a0167b8be.tar.gz gnunet-efad1d6733cd7e75a4e6c846ad7c031a0167b8be.zip |
- complement HELPER API with functions to kill and wait on the helper process
- To shutdown quickly, have testbed first kill all sub-controller's helper
processes first and wait later instead of kill & wait per each processes.
Diffstat (limited to 'src/vpn')
-rw-r--r-- | src/vpn/gnunet-service-vpn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c index 61bd977bc..a56aff52a 100644 --- a/src/vpn/gnunet-service-vpn.c +++ b/src/vpn/gnunet-service-vpn.c | |||
@@ -2928,8 +2928,8 @@ cleanup (void *cls GNUNET_UNUSED, | |||
2928 | mesh_handle = NULL; | 2928 | mesh_handle = NULL; |
2929 | } | 2929 | } |
2930 | if (NULL != helper_handle) | 2930 | if (NULL != helper_handle) |
2931 | { | 2931 | { |
2932 | GNUNET_HELPER_stop (helper_handle); | 2932 | GNUNET_HELPER_stop (helper_handle, GNUNET_NO); |
2933 | helper_handle = NULL; | 2933 | helper_handle = NULL; |
2934 | } | 2934 | } |
2935 | if (NULL != nc) | 2935 | if (NULL != nc) |