Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43af502 commit 6aa50c5Copy full SHA for 6aa50c5
1 file changed
libvips/iofuncs/threadpool.c
@@ -666,12 +666,10 @@ vips_threadpool_run(VipsImage *im,
666
break;
667
668
if (progress &&
669
- progress(pool->a))
+ progress(pool->a)) {
670
g_atomic_int_set(&pool->error, TRUE);
671
-
672
- if (g_atomic_int_get(&pool->stop) ||
673
- g_atomic_int_get(&pool->error))
674
+ }
675
676
n_waiting = g_atomic_int_get(&pool->n_waiting);
677
VIPS_DEBUG_MSG("n_waiting = %d\n", n_waiting);
0 commit comments