Skip to content

onClose hook hangs indefinitely #107

@ghost

Description

Hi,
I'm reporting a bug (that took nearly 2 years to be found..). It seems that onClose hook of this plugin is not implemented correctly since close() function on nodemailer transport does not expect any callback, you can see that clearly on this row: https://github.com/nodemailer/nodemailer/blob/master/lib/smtp-transport/index.js#L407. This results in the fastify process to hang indefinitely without any chance to terminate anytime. I can make a PR for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions