Skip to content

Commit

Permalink
Merge pull request #21 from appunite/fix-handle-case-when-process-alr…
Browse files Browse the repository at this point in the history
…eady-ended

Handle case when process already ended
  • Loading branch information
hauleth committed Oct 11, 2018
2 parents fb1085e + d177467 commit d854d4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/imager/runner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ defmodule Imager.Runner do

receive do
{:DOWN, ^ref, :process, ^pid, :normal} -> :ok
{:DOWN, ^ref, :process, ^pid, :noproc} -> :ok
{:DOWN, ^ref, :process, ^pid, _} -> :error
end
end
Expand Down

0 comments on commit d854d4d

Please sign in to comment.