Clear cached warnings after success

This commit is contained in:
Lovell Fuller 2014-08-06 11:34:16 +01:00
parent e98f2fc013
commit 46456c9a2a
2 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,7 @@
"buffer"
],
"dependencies": {
"nan": "^1.2.0",
"nan": "^1.3.0",
"bluebird": "^2.2.2"
},
"devDependencies": {

View File

@ -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();
}