Skip to content

Commit

Permalink
Do not spawn a process to collect garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmi committed Jun 9, 2024
1 parent e7adec8 commit 1c95aa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/composite.ex
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ defmodule Strom.Composite do
defp collect_garbage(%Strom.Renamer{}), do: :nothing

defp collect_garbage(component) do
spawn(fn ->
# spawn(fn ->
:erlang.garbage_collect(component.pid)
end)
# end)
end

defp pid_postfix do
Expand Down

0 comments on commit 1c95aa2

Please sign in to comment.