merge fix for deleting files from libtorrent_aio

This commit is contained in:
Arvid Norberg
2013-08-22 05:27:45 +00:00
parent f72f77aeb2
commit 6a47271667
3 changed files with 13 additions and 0 deletions

View File

@@ -2472,6 +2472,8 @@ namespace libtorrent
}
}
if (t->is_deleted()) return;
int write_queue_size = fs.async_write(p, data, boost::bind(&peer_connection::on_disk_write_complete
, self(), _1, _2, p, t));
m_outstanding_writing_bytes += p.length;