diff --git a/lib/winston/logger.js b/lib/winston/logger.js index 89dd4aca7..526814092 100644 --- a/lib/winston/logger.js +++ b/lib/winston/logger.js @@ -402,6 +402,8 @@ class Logger extends Transform { * @returns {Logger} - TODO: add return description. */ close() { + this.exceptions.unhandle(); + this.rejections.unhandle(); this.clear(); this.emit('close'); return this;