mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Clear cached warnings after success
This commit is contained in:
@@ -425,6 +425,9 @@ class ResizeWorker : public NanAsyncWorker {
|
||||
(baton->err).append("Unsupported output " + baton->file_out);
|
||||
}
|
||||
g_object_unref(output);
|
||||
|
||||
// Clean up libvips' per-request data and threads
|
||||
vips_error_clear();
|
||||
vips_thread_shutdown();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user