From: Matt Joiner Date: Fri, 4 Oct 2019 02:38:46 +0000 (+1000) Subject: Fix logging panic in BenchmarkConnectionMainReadLoop X-Git-Tag: v1.8.1^0 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=5e9f21277a05cfd91fcc98f67f12a59e9afd74ae;p=btrtrc.git Fix logging panic in BenchmarkConnectionMainReadLoop --- diff --git a/connection_test.go b/connection_test.go index 661fb998..69e3c9d8 100644 --- a/connection_test.go +++ b/connection_test.go @@ -92,6 +92,7 @@ func BenchmarkConnectionMainReadLoop(b *testing.B) { DownloadRateLimiter: unlimited, }, } + cl.initLogger() ts := &torrentStorage{} t := &Torrent{ cl: cl,