summaryrefslogtreecommitdiff
path: root/lib/block_task.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/block_task.cpp')
-rw-r--r--lib/block_task.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_task.cpp b/lib/block_task.cpp
index ca106ab..52cf505 100644
--- a/lib/block_task.cpp
+++ b/lib/block_task.cpp
@@ -10,7 +10,7 @@ void BlockActor::mark_done(void)
if (this->block_state == BLOCK_STATE_DONE) return; //can re-enter checking done first
this->stats.stop_time = time_now();
- this->block_ptr->stop();
+ this->block_ptr->notify_inactive();
//flush partial output buffers to the downstream
for (size_t i = 0; i < this->get_num_outputs(); i++)