allow done() with a non-zero invoke count

This commit is contained in:
Steven Siloti 2015-11-22 09:33:20 -08:00
parent 6c5bed63d3
commit 8a984effa7
1 changed files with 0 additions and 1 deletions

View File

@ -67,7 +67,6 @@ void put_data::set_targets(std::vector<std::pair<node_entry, std::string> > cons
void put_data::done() void put_data::done()
{ {
if (m_invoke_count != 0) return;
m_done = true; m_done = true;
#ifndef TORRENT_DISABLE_LOGGING #ifndef TORRENT_DISABLE_LOGGING