diff options
| author | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2020-06-17 00:08:55 +0300 |
|---|---|---|
| committer | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2020-06-17 11:05:30 +0300 |
| commit | 870e2a6014462c55cc252140f5e215374881c6e9 (patch) | |
| tree | 93d6606d9df3c1977dea4ad7834eee12ac1085e6 /src/MultiDiskAdaptor.cc | |
| parent | 9d0a48ac8147c5e56402706d5c17efa8bf6340f2 (diff) | |
flush internal buffers before auto-saving control file
Otherwise, some pieces may be marked as finished in the control file
though they have not yet been written to the storage file.
This should prevent data loss and corruption when resuming downloads
after an app crash.
Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
Diffstat (limited to 'src/MultiDiskAdaptor.cc')
0 files changed, 0 insertions, 0 deletions
