mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Clear cached warnings after success
This commit is contained in:
parent
e98f2fc013
commit
46456c9a2a
@ -33,7 +33,7 @@
|
||||
"buffer"
|
||||
],
|
||||
"dependencies": {
|
||||
"nan": "^1.2.0",
|
||||
"nan": "^1.3.0",
|
||||
"bluebird": "^2.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user