fix(core): update

This commit is contained in:
Philipp Kunz 2023-07-02 11:35:36 +02:00
parent f7966e1f58
commit 99db788d11
3 changed files with 5 additions and 3 deletions

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'
}