mirror of
https://github.com/lovell/sharp.git
synced 2026-02-07 07:06:16 +01:00
Improve thread-safety of error and warning message handling.
Ensures all message reading occurs before thread shutdown.
This commit is contained in:
@@ -204,6 +204,7 @@ struct PipelineBaton {
|
||||
bool jxlLossless;
|
||||
VipsBandFormat rawDepth;
|
||||
std::string err;
|
||||
std::vector<std::string> warnings;
|
||||
bool errUseWarning;
|
||||
int keepMetadata;
|
||||
int withMetadataOrientation;
|
||||
@@ -365,7 +366,7 @@ struct PipelineBaton {
|
||||
tiffBigtiff(false),
|
||||
tiffPredictor(VIPS_FOREIGN_TIFF_PREDICTOR_HORIZONTAL),
|
||||
tiffPyramid(false),
|
||||
tiffBitdepth(8),
|
||||
tiffBitdepth(0),
|
||||
tiffMiniswhite(false),
|
||||
tiffTile(false),
|
||||
tiffTileHeight(256),
|
||||
|
||||
Reference in New Issue
Block a user