If there is no more input data, a task is not told that it will not get anything more. This prevents it to execute clean-up actions needed before calling finalize, which would be useful e.g. by the OutputTask, which would not block forever in getting the output buffer if there won't be any.
If there is no more input data, a task is not told that it will not get anything more. This prevents it to execute clean-up actions needed before calling
finalize
, which would be useful e.g. by theOutputTask
, which would not block forever in getting the output buffer if there won't be any.