-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Email Trigger (IMAP) Node): Ensure connection close does not block deactivation #10689
Conversation
} | ||
try { | ||
if (connection.closeBox) await connection.closeBox(false); | ||
connection.end(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the connection.end
be in a finally
block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
n8n Run #6768
Run Properties:
|
Project |
n8n
|
Branch Review |
pay-1919-imap-connection-closed-unexpectedly
|
Run status |
Passed #6768
|
Run duration | 04m 33s |
Commit |
a533149f49: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
|
Committer | Iván Ovejero |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
1
|
Pending |
0
|
Skipped |
0
|
Passing |
424
|
View all changes introduced in this branch ↗︎ |
✅ All Cypress E2E specs passed |
Got released with |
https://linear.app/n8n/issue/PAY-1919/imap-connection-closed-unexpectedly#comment-979ca863
Follow-up to #10064
Related to #8738