Dispose of the stream even if it gets closed early

This commit is contained in:
наб 2025-07-16 18:43:00 +02:00
parent 5aceeb31e7
commit 155d2920b6
No known key found for this signature in database
GPG key ID: BCFD0B018D2658F1

View file

@ -220,6 +220,8 @@ export class StreamingApiServerService implements OnApplicationShutdown {
if (connectionsForClient.size < 1) {
this.#connectionsByClient.delete(limitActor);
}
stream.dispose();
});
ws.once('error', (e) => {