summaryrefslogtreecommitdiff
path: root/uring.c
diff options
context:
space:
mode:
Diffstat (limited to 'uring.c')
-rw-r--r--uring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uring.c b/uring.c
index 3437d7e..e979471 100644
--- a/uring.c
+++ b/uring.c
@@ -97,6 +97,7 @@ void
uring_task_destroy(struct uring_task *task)
{
assert_return(task);
+ assert_return_silent(!task->dead);
debug(DBG_UR, "task %s (%p), fd %i, refcount %u",
task->name, task, task->fd, task->refcount);