Skip to content

Commit

Permalink
fix flush_to_disk
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Apr 21, 2024
1 parent b802813 commit 149a7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/disk_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -662,10 +662,10 @@ void disk_cache::clear_piece_impl(cached_piece_entry& cpe, jobqueue_t& aborted)
{
aborted.push_back(cbe.write_job);
cbe.write_job = nullptr;
cbe.flushed_to_disk = false;
++jobs;
--m_blocks;
}
cbe.flushed_to_disk = false;
cbe.buf_holder.reset();
}
cpe.ready_to_flush = false;
Expand Down

0 comments on commit 149a7ba

Please sign in to comment.