summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing2.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-02-24 11:25:28 +0100
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-02-24 11:25:28 +0100
commite7b2f86d362dca94c03b50e9a9f1ec9220de9b21 (patch)
tree31fa7c6fece24e80eb705df0ff5b89da9da5313b /src/transport/transport-testing2.c
parente3c79b5a5d77ee22e78d503cf2318d809551ee2c (diff)
-fix neighbour send
Diffstat (limited to 'src/transport/transport-testing2.c')
-rw-r--r--src/transport/transport-testing2.c5
1 files changed, 5 insertions, 0 deletions
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);