diff --git a/CHANGELOG.md b/CHANGELOG.md index e30476333fd7..4b961ade3a7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ ### 🧰 Bug fixes 🧰 +- `fluentforwardreceiver`: Release port on shutdown (#9111) + ## v0.49.0 ### 🛑 Breaking changes 🛑 diff --git a/receiver/fluentforwardreceiver/receiver.go b/receiver/fluentforwardreceiver/receiver.go index 7f2cb88b2e14..c15b7fb1aec2 100644 --- a/receiver/fluentforwardreceiver/receiver.go +++ b/receiver/fluentforwardreceiver/receiver.go @@ -88,6 +88,7 @@ func (r *fluentReceiver) Start(ctx context.Context, _ component.Host) error { } func (r *fluentReceiver) Shutdown(context.Context) error { + r.listener.Close() r.cancel() return nil }