Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(instrumentation-net): Don't operate on closed span
  • Loading branch information
mhennoch committed Nov 23, 2023
commit 3415c2d6a310c4449c02ac1de6fd22dc61d20bd0
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class NetInstrumentation extends InstrumentationBase<Net> {
}
};

for (const event of [SocketEvent.CLOSE, SocketEvent.ERROR]) {
for (const event of [SocketEvent.CLOSE, SocketEvent.ERROR, SocketEvent.SECURE_CONNECT]) {
socket.once(event, otelTlsRemoveListeners);
}

Expand Down