Skip to content
Snippets Groups Projects
Commit d56fc2fd authored by Michael Oliver's avatar Michael Oliver Committed by Xiangrong Hao
Browse files

Fix ordering of arguments in handle_info (#40)

parent 91fa822e
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ defmodule FileSystem.Worker do
{:noreply, state}
end
def handle_info({:DOWN, _pid, _, ref, _reason}, state) do
def handle_info({:DOWN, ref, _, _pid, _reason}, state) do
subscribers = Map.drop(state.subscribers, [ref])
{:noreply, %{state | subscribers: subscribers}}
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment