debug: minimize socket close output

This commit is contained in:
Alex Gleason
2024-01-01 17:30:01 -06:00
parent 43359f787b
commit d13b7435a7

View File

@@ -48,7 +48,7 @@ class SubscriptionStore {
/** Remove an entire socket. */
close(socket: unknown): void {
debug('close', socket);
debug('close', (socket as any)?.constructor?.name);
const subs = this.#store.get(socket);
if (subs) {