Skip to content

Commit 0e3aea5

Browse files
Merge pull request #13677 from rabbitmq/mergify/bp/v4.1.x/pr-13674
Ignore stream connections in unexpected states (backport #13674)
2 parents fc74118 + 268b15b commit 0e3aea5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deps/rabbitmq_stream/src/rabbit_stream_reader.erl

+3-1
Original file line numberDiff line numberDiff line change
@@ -3221,7 +3221,9 @@ notify_connection_closed(#statem_data{
32213221
{client_properties, ClientProperties}],
32223222
rabbit_event:notify(connection_closed,
32233223
augment_infos_with_user_provided_connection_name(EventProperties,
3224-
Connection)).
3224+
Connection));
3225+
notify_connection_closed(#statem_data{}) ->
3226+
ok.
32253227

32263228
handle_frame_post_close(_Transport,
32273229
Connection,

0 commit comments

Comments
 (0)