From b8157b53ae7340ac34bd375909b766d19e5d15ed Mon Sep 17 00:00:00 2001 From: lash Date: Tue, 5 Feb 2019 12:24:47 +0100 Subject: [PATCH] swarm/pss: Remove pss service leak in test --- swarm/pss/pss_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/swarm/pss/pss_test.go b/swarm/pss/pss_test.go index 46daa46741..e6dd44ee90 100644 --- a/swarm/pss/pss_test.go +++ b/swarm/pss/pss_test.go @@ -932,6 +932,7 @@ func TestPeerCapabilityMismatch(t *testing.T) { Payload: &whisper.Envelope{}, } ps := newTestPss(privkey, kad, nil) + defer ps.Stop() // run the forward // it is enough that it completes; trying to send to incapable peers would create segfault