From e7b2f86d362dca94c03b50e9a9f1ec9220de9b21 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Wed, 24 Feb 2021 11:25:28 +0100 Subject: -fix neighbour send --- src/transport/transport-testing2.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/transport/transport-testing2.c') diff --git a/src/transport/transport-testing2.c b/src/transport/transport-testing2.c index 23173e763..513b030b8 100644 --- a/src/transport/transport-testing2.c +++ b/src/transport/transport-testing2.c @@ -696,6 +696,11 @@ GNUNET_TRANSPORT_TESTING_stop_peer (struct GNUNET_ATS_connectivity_done (p->ats); p->ats = NULL; } + if (NULL != p->ph) + { + GNUNET_PEERSTORE_disconnect (p->ph, GNUNET_NO); + p->ph = NULL; + } if (NULL != p->hello) { GNUNET_free (p->hello); -- cgit v1.2.3