finished hashing algorithm for cache

This commit is contained in:
itsmattkc
2019-09-02 19:51:31 +10:00
parent b563b9e783
commit e87ed9dd3d
12 changed files with 124 additions and 44 deletions
+5
View File
@@ -90,6 +90,11 @@ void TrackOutput::Refresh()
foreach (Block* b, block_cache_) {
if (!detect_attached_blocks.contains(b)) {
// If the current block was removed, stop referencing it
if (current_block_ == b) {
current_block_ = this;
}
emit BlockRemoved(b);
}
}