Skip to content

[pkg/stanza] Windows input operator leaks remote session handle #35577

Closed
@kuiperda

Description

@kuiperda

Component(s)

pkg/stanza

What happened?

Description

@pjanotti noticed this here (#35520)

Steps to Reproduce

See the comment above. Since Subscription::Close does not close the remote session handle, it is leaked. This will happen when the operator resubscribes due to the remote host restarting, for example.

Expected Result

The remote session handle should be closed properly so it does not get leaked.

Actual Result

Collector version

v0.110.0

Environment information

N/A

OpenTelemetry Collector configuration

N/A

Log output

N/A

Additional context

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions