nodemailer / wildduck

Opinionated email server
https://wildduck.email/
European Union Public License 1.2
1.89k stars 263 forks source link

fix: fixed edge cases when `session` could be `null` #699

Closed titanism closed 2 months ago

titanism commented 2 months ago

If the session is set to null and an err occurs, for example here:

https://github.com/titanism/wildduck/blob/c9188b3766b547b091d140a33308b5c3ec3aa1d4/lib/pop3/connection.js#L1010

Then an uncaught exception will be thrown.

titanism commented 2 months ago

PR ready to go, please merge, thank you!