small further change
helps a bit more, perhaps
This commit is contained in:
parent
4cdd5640ea
commit
48a91627d1
@ -222,11 +222,12 @@ vips_init( const char *argv0 )
|
||||
/* We make regions in parallel, so we have to be careful that any
|
||||
* associated types are fully built before we start. We can't init the
|
||||
* clases in two separate threads.
|
||||
*
|
||||
* We can't unref these two, since the last unref of the last region
|
||||
* will finalize the class and trigger re-init.
|
||||
*/
|
||||
image = vips_image_new( "p" );
|
||||
region = vips_region_new( image );
|
||||
g_object_unref( region );
|
||||
g_object_unref( image );
|
||||
|
||||
/* Load up any plugins in the vips libdir. We don't error on failure,
|
||||
* it's too annoying to have VIPS refuse to start because of a broken
|
||||
|
Loading…
Reference in New Issue
Block a user