diff --git a/lib/file_system/worker.ex b/lib/file_system/worker.ex index 13d9fd34a832a9e973381ea5866ff2282fe47c6c..e24b7555a788824b40c1e07cb72269cb747abd3b 100644 --- a/lib/file_system/worker.ex +++ b/lib/file_system/worker.ex @@ -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