mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(core): Stop using unbound calls to stopProcess (no-changelog) (#5456)
This commit is contained in:
committed by
GitHub
parent
d266401ed8
commit
9a331ec7b6
@@ -1,5 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/await-thenable */
|
||||
/* eslint-disable @typescript-eslint/unbound-method */
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||
import path from 'path';
|
||||
@@ -199,10 +198,6 @@ export class Start extends BaseCommand {
|
||||
}
|
||||
|
||||
async init() {
|
||||
// Make sure that n8n shuts down gracefully if possible
|
||||
process.once('SIGTERM', this.stopProcess);
|
||||
process.once('SIGINT', this.stopProcess);
|
||||
|
||||
await this.initCrashJournal();
|
||||
await super.init();
|
||||
this.logger.info('Initializing n8n process');
|
||||
|
||||
Reference in New Issue
Block a user