disk stats fix
This commit is contained in:
parent
dfe2af0311
commit
838a246f6b
|
@ -63,7 +63,6 @@ namespace libtorrent
|
|||
m_categories["read cache"] = 0;
|
||||
m_categories["write cache"] = 0;
|
||||
|
||||
m_log.open("disk_io_thread.log", std::ios::trunc);
|
||||
m_disk_access_log.open("disk_access.log", std::ios::trunc);
|
||||
#endif
|
||||
#ifdef TORRENT_DEBUG
|
||||
|
@ -284,6 +283,9 @@ namespace libtorrent
|
|||
, m_work(io_service::work(m_ios))
|
||||
, m_disk_io_thread(boost::ref(*this))
|
||||
{
|
||||
#ifdef TORRENT_DISK_STATS
|
||||
m_log.open("disk_io_thread.log", std::ios::trunc);
|
||||
#endif
|
||||
}
|
||||
|
||||
disk_io_thread::~disk_io_thread()
|
||||
|
|
Loading…
Reference in New Issue