forked from premiere/premiere-libtorrent
optimized memory usage when checking files fails
This commit is contained in:
parent
5bce212126
commit
a2668d9b1b
|
@ -57,6 +57,7 @@ release 0.14.4
|
|||
slash for multi-file torrents
|
||||
* lowered the default connection speed to 10 connection attempts
|
||||
per second
|
||||
* optimized memory usage when checking files fails
|
||||
|
||||
release 0.14.3
|
||||
|
||||
|
|
|
@ -2453,7 +2453,10 @@ ret:
|
|||
#else
|
||||
&& m_storage->error() != error_code(ENOENT, get_posix_category()))
|
||||
#endif
|
||||
{
|
||||
m_piece_data.reset();
|
||||
return -1;
|
||||
}
|
||||
return skip_file();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue