final clean-up

This commit is contained in:
John Cupitt 2014-06-13 10:52:07 +01:00
parent 6e48c47533
commit 000d77e994
2 changed files with 5 additions and 2 deletions

2
TODO
View File

@ -1,5 +1,3 @@
- vips_image_readwrite() or whatever its called should signal invalidate or
mark the image as uncacheable or something
- can we use postbuild elsewhere? look at use of "preclose" / "written", etc. - can we use postbuild elsewhere? look at use of "preclose" / "written", etc.

View File

@ -2747,6 +2747,11 @@ vips_image_inplace( VipsImage *image )
return( -1 ); return( -1 );
} }
/* This image is about to be changed (probably). Make sure it's not
* in cache.
*/
vips_image_invalidate_all( image );
return( 0 ); return( 0 );
} }