Get rid of `BLI_task_pool_stop()`.
[blender-staging.git] / source / blender / blenlib / intern / task.c
index 359360d59c41dc12b42202be6cff6e7efaf88602..91e821a8f1abd399f6074b93bb312393b721ccd4 100644 (file)
@@ -708,13 +708,6 @@ void BLI_task_pool_cancel(TaskPool *pool)
        pool->do_cancel = false;
 }
 
-void BLI_task_pool_stop(TaskPool *pool)
-{
-       task_scheduler_clear(pool->scheduler, pool);
-
-       BLI_assert(pool->num == 0);
-}
-
 bool BLI_task_pool_canceled(TaskPool *pool)
 {
        return pool->do_cancel;