Revert "actions fail invest: log SerrverService.dispose"

This reverts commit 6aad9299dc.
This commit is contained in:
tamaina 2025-07-21 01:23:42 +09:00
parent 03e404ce27
commit 634f16f6b0
2 changed files with 0 additions and 5 deletions

View File

@ -305,11 +305,8 @@ export class ServerService implements OnApplicationShutdown {
@bindThis
public async dispose(): Promise<void> {
console.log('Disposing ServerService...');
await this.streamingApiServerService.detach();
this.logger.info('Streaming API server detached.');
await this.#fastify.close();
this.logger.info('Fastify server closed.');
}
/**

View File

@ -174,11 +174,9 @@ export class StreamingApiServerService {
if (this.#cleanConnectionsIntervalId) {
clearInterval(this.#cleanConnectionsIntervalId);
this.#cleanConnectionsIntervalId = null;
console.log('Clean connections interval cleared.');
}
return new Promise((resolve) => {
this.#wss.close(() => resolve());
console.log('WebSocket server closed.');
});
}
}