Skip to content
Commit e14e29a6 authored by Alberto Miranda's avatar Alberto Miranda
Browse files

Remove task descriptors when tasks complete

Calling norns(ctl)?_error() to query the status of a running task will
release its descriptor in the server if the task already completed
(NORNS_EFINISHED or NORNS_EFINISHEDWERROR). Since norns(ctl)?_wait()
internally queries the task status to check whether a task has
completed, we cache the retrieved task_status into the iotask_t user
descriptor so that it can be retrieved by a subsequent
norns(ctl)?_error() call.
parent db83cc35
Pipeline #258 passed with stages
in 25 minutes and 36 seconds