fixed intended behavior for async_move_storage (2nd attempt)
This commit is contained in:
parent
fa37b9f3df
commit
bde5a9be0a
|
@ -216,7 +216,7 @@ namespace libtorrent
|
|||
break;
|
||||
case disk_io_job::move_storage:
|
||||
ret = j.storage->move_storage_impl(j.str) ? 1 : 0;
|
||||
if (ret) j.str = j.storage->save_path().string();
|
||||
j.str = j.storage->save_path().string();
|
||||
break;
|
||||
case disk_io_job::release_files:
|
||||
j.storage->release_files_impl();
|
||||
|
|
Loading…
Reference in New Issue