fixed assert in disk_io_thread
This commit is contained in:
parent
0488e0c43a
commit
58978048e8
|
@ -1153,7 +1153,8 @@ namespace libtorrent
|
||||||
#ifndef BOOST_NO_EXCEPTIONS
|
#ifndef BOOST_NO_EXCEPTIONS
|
||||||
try {
|
try {
|
||||||
#endif
|
#endif
|
||||||
TORRENT_ASSERT(ret != -2 || !j.str.empty());
|
TORRENT_ASSERT(ret != -2 || !j.str.empty()
|
||||||
|
|| j.action == disk_io_job::hash);
|
||||||
if (handler) m_ios.post(bind(handler, ret, j));
|
if (handler) m_ios.post(bind(handler, ret, j));
|
||||||
#ifndef BOOST_NO_EXCEPTIONS
|
#ifndef BOOST_NO_EXCEPTIONS
|
||||||
} catch (std::exception&)
|
} catch (std::exception&)
|
||||||
|
|
Loading…
Reference in New Issue