Compare commits

...

2 Commits

Author SHA1 Message Date
ef9883f100 2.0.65 2023-07-02 11:35:37 +02:00
99db788d11 fix(core): update 2023-07-02 11:35:36 +02:00
4 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@apiglobal/typedserver",
"version": "2.0.64",
"version": "2.0.65",
"description": "easy serving of static files",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedserver',
version: '2.0.64',
version: '2.0.65',
description: 'easy serving of static files'
}

View File

@ -254,7 +254,9 @@ export class Server {
this.socketMap.remove(connection);
console.log(`removed connection. ${this.socketMap.getArray().length} sockets remaining.`);
await plugins.smartdelay.delayFor(0);
connection.destroy();
if (connection.destroyed === false) {
connection.destroy();
}
}
};
});

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedserver',
version: '2.0.64',
version: '2.0.65',
description: 'easy serving of static files'
}