From 311658e2bab990bbdb68607295e5a79fe082b384 Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Tue, 19 Dec 2017 19:20:25 -0600 Subject: [PATCH] Another assert which is actually OK --- src/transport/gnunet-service-transport_neighbours.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 19f5fd081..ac72a667c 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c @@ -2433,7 +2433,10 @@ switch_address_bl_check_cont (void *cls, goto cleanup; papi = GST_plugins_find (address->transport_name); - GNUNET_assert (NULL != papi); + if (NULL == papi) { + /* This can happen during shutdown. */ + goto cleanup; + } if (GNUNET_NO == result) { -- 2.25.1