Skip to content

Commit e232662

Browse files
Merge pull request #13674 from rabbitmq/avoid-crash-on-stream-connections
Ignore stream connections in unexpected states
2 parents 095e897 + 09ed8fd commit e232662

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)