Clean exit, remove forcefully_free
This commit is contained in:
parent
319eea90bd
commit
a43675c197
7 changed files with 33 additions and 38 deletions
|
@ -71,10 +71,3 @@ listenWithSettings({
|
|||
ssl: false,
|
||||
compression: uWS.DEDICATED_COMPRESSOR
|
||||
});
|
||||
|
||||
/* This is required to check for memory leaks */
|
||||
process.on('exit', () => {
|
||||
apps.forEach((a) => {
|
||||
a.app.forcefully_free();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue