diff --git a/adm-zip.js b/adm-zip.js index d821175..b08f731 100644 --- a/adm-zip.js +++ b/adm-zip.js @@ -711,9 +711,9 @@ module.exports = function (/**String*/ input, /** object */ options) { callback(getError("Unable to set times", filePath)); return; } - fileEntries.delete(entry); // call the callback if it was last entry done(); + fileEntries.delete(entry); }); }); }