Clean exit, remove forcefully_free
This commit is contained in:
parent
319eea90bd
commit
a43675c197
7 changed files with 33 additions and 38 deletions
|
@ -37,9 +37,3 @@ const app = uWS./*SSL*/App({
|
|||
console.log('Failed to listen to port ' + port);
|
||||
}
|
||||
});
|
||||
|
||||
/* This is questionable */
|
||||
process.on('beforeExit', () => {
|
||||
console.log('Forcefully freeing app now');
|
||||
app.forcefully_free();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue