From 313adf1d2fd4c804e9167725cd5bc91b79cc1521 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sun, 6 Sep 2015 12:35:56 +1000 Subject: [PATCH] =?UTF-8?q?Some=20code=20missed=20in=20the=20last=20commit?= =?UTF-8?q?=20=E0=B2=A0=5F=E0=B2=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.go b/client.go index 0707b8ea..7cb58efe 100644 --- a/client.go +++ b/client.go @@ -25,6 +25,7 @@ import ( "github.com/anacrolix/missinggo" . "github.com/anacrolix/missinggo" "github.com/anacrolix/missinggo/perf" + "github.com/anacrolix/missinggo/pubsub" "github.com/anacrolix/sync" "github.com/anacrolix/utp" "github.com/bradfitz/iter" @@ -116,6 +117,7 @@ func (cl *Client) queuePieceCheck(t *torrent, pieceIndex pp.Integer) { return } piece.QueuedForHash = true + t.publishPieceChange(int(pieceIndex)) go cl.verifyPiece(t, pieceIndex) }