]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix logging panic in BenchmarkConnectionMainReadLoop v1.8.1
authorMatt Joiner <anacrolix@gmail.com>
Fri, 4 Oct 2019 02:38:46 +0000 (12:38 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Fri, 4 Oct 2019 02:38:46 +0000 (12:38 +1000)
connection_test.go

index 661fb99862238057c11f9cd8aa665c740491a89a..69e3c9d8bcda6d5774e6c726476af9c982cb30ff 100644 (file)
@@ -92,6 +92,7 @@ func BenchmarkConnectionMainReadLoop(b *testing.B) {
                        DownloadRateLimiter: unlimited,
                },
        }
+       cl.initLogger()
        ts := &torrentStorage{}
        t := &Torrent{
                cl:                cl,