forked from premiere/premiere-libtorrent
fixes files that were left open in write mode by mistake
This commit is contained in:
parent
bbd170562e
commit
a8a74c3513
|
@ -460,6 +460,8 @@ namespace libtorrent
|
|||
->set_size(file_iter->size);
|
||||
}
|
||||
}
|
||||
// close files that were opened in write mode
|
||||
m_files.release(this);
|
||||
}
|
||||
|
||||
void storage::release_files()
|
||||
|
|
Loading…
Reference in New Issue