1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-21 09:59:34 +03:00

close mongo connection on close (#1597)

Fix #1595
This commit is contained in:
Allan Daemon 2021-04-14 09:02:51 -03:00 committed by GitHub
parent 41088fcd9e
commit 10ba842610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,6 +160,7 @@ export class MongoDb implements INodeType {
throw new Error(`The operation "${operation}" is not supported!`);
}
client.close();
return this.prepareOutputData(returnItems);
}
}