stop cache tile generation early on error
We didn't stop tile calculation as early as we could on error. See https://github.com/libvips/libvips/pull/2424
This commit is contained in:
parent
affc2400ed
commit
e7889ff8e1
@ -632,7 +632,8 @@ vips_tile_cache_gen( VipsRegion *or,
|
|||||||
*/
|
*/
|
||||||
work = vips_tile_cache_ref( cache, r );
|
work = vips_tile_cache_ref( cache, r );
|
||||||
|
|
||||||
while( work ) {
|
while( work &&
|
||||||
|
!*stop ) {
|
||||||
/* Search for data tiles: easy, we can just paste those in.
|
/* Search for data tiles: easy, we can just paste those in.
|
||||||
*/
|
*/
|
||||||
for(;;) {
|
for(;;) {
|
||||||
|
Loading…
Reference in New Issue
Block a user