diff --git a/lib/storage/tasks.js b/lib/storage/tasks.js index bb4dbdb9c..3c50f8ce7 100644 --- a/lib/storage/tasks.js +++ b/lib/storage/tasks.js @@ -102,6 +102,7 @@ var list = Tasks.list = function (env, cb, migration) { root: env.root, error: e, }); + w.abort(); return void cb(e); } if (list.length === 0) {