forked from premiere/premiere-libtorrent
added assert to bandwidth_limiter
This commit is contained in:
parent
6885361466
commit
d963625949
|
@ -341,6 +341,7 @@ private:
|
|||
{
|
||||
assert(amount == limit - m_current_quota);
|
||||
bw_queue_entry<PeerConnection> qe = m_queue.front();
|
||||
assert(qe.max_bock_size > 0);
|
||||
m_queue.pop_front();
|
||||
|
||||
shared_ptr<Torrent> t = qe.peer->associated_torrent().lock();
|
||||
|
|
Loading…
Reference in New Issue