This addresses #2305 except for cases where there is no task (e.g. in CGImport).
The bulk of this change is pulling some logic out of make_task() into its own function and using it for the volume policy as well as the channel policy. That logic remains unchanged except for a fix for indirectionimage tasks.
This addresses #2305 except for cases where there is no task (e.g. in CGImport).
The bulk of this change is pulling some logic out of
make_task()into its own function and using it for the volume policy as well as the channel policy. That logic remains unchanged except for a fix forindirectionimagetasks.