This commit is contained in:
David Majdandžić
2023-03-25 18:13:44 +01:00
parent e639759ed5
commit bcf48e9d6f
2 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

14
main.js
View File

@@ -1403,8 +1403,8 @@ centerSessionManager.startup();
// let session = clientSessionManager.createSession('smpp://localhost:7001', 'test', 'test'); // let session = clientSessionManager.createSession('smpp://localhost:7001', 'test', 'test');
// let server = centerSessionManager.createSession(7001, 'test', 'test'); // let server = centerSessionManager.createSession(7001, 'test', 'test');
let session = clientSessionManager.getSession(0); // let session = clientSessionManager.getSession(0);
let server = centerSessionManager.getSession(0); // let server = centerSessionManager.getSession(0);
// session.connect() // session.connect()
// .then(() => { // .then(() => {
@@ -1436,8 +1436,8 @@ function cleanup() {
process.exit(0); process.exit(0);
} }
// process.on('exit', cleanup); process.on('exit', cleanup);
// process.on('SIGINT', cleanup); process.on('SIGINT', cleanup);
// process.on('SIGUSR1', cleanup); process.on('SIGUSR1', cleanup);
// process.on('SIGUSR2', cleanup); process.on('SIGUSR2', cleanup);
// process.on('uncaughtException', cleanup); process.on('uncaughtException', cleanup);