mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
fix invariant
This commit is contained in:
parent
88e5c07564
commit
ccfead4e6c
1 changed files with 2 additions and 2 deletions
|
@ -754,13 +754,13 @@ namespace libtorrent
|
|||
|
||||
m_progress = j.piece / float(torrent_file().num_pieces());
|
||||
|
||||
m_picker->check_invariant();
|
||||
// m_picker->check_invariant();
|
||||
|
||||
TORRENT_ASSERT(m_picker);
|
||||
if (j.offset >= 0 && !m_picker->have_piece(j.offset))
|
||||
m_picker->we_have(j.offset);
|
||||
|
||||
m_picker->check_invariant();
|
||||
// m_picker->check_invariant();
|
||||
|
||||
// we're not done checking yet
|
||||
// this handler will be called repeatedly until
|
||||
|
|
Loading…
Add table
Reference in a new issue