Skip to content

Commit 2ece3df

Browse files
committed
Fix crash test
1 parent 896cfa4 commit 2ece3df

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/composite.ex

+1-3
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ defmodule Strom.Composite do
122122
end
123123

124124
def stop_components(components) do
125-
components
126-
|> Enum.reverse()
127-
|> Enum.each(fn %{__struct__: module} = component ->
125+
Enum.each(fn %{__struct__: module} = component ->
128126
module.stop(component)
129127
end)
130128
end

0 commit comments

Comments
 (0)