allow done() with a non-zero invoke count
This commit is contained in:
parent
6c5bed63d3
commit
8a984effa7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue