Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions lib/flame/runner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,9 @@ defmodule FLAME.Runner do
:ok = checkin(runner_pid, ref, trackable_pids)
{value, trackable_pids}

{kind, reason} ->
{:exit, reason} ->
:ok = checkin(runner_pid, ref, [])

case kind do
:exit -> exit(reason)
:error -> raise(reason)
:throw -> throw(reason)
end
exit(reason)
end
end

Expand Down Expand Up @@ -428,8 +423,6 @@ defmodule FLAME.Runner do
case remote_call(runner, backend_state, timeout, track_resources?, func) do
{:ok, value} -> value
{:exit, reason} -> exit(reason)
{:error, error} -> raise(error)
{:throw, val} -> throw(val)
end
end

Expand Down
Loading