Merge pull request #163 from ariel-anieli/issue-138-rumany-typos
runmany_wrap/2 didn't call Fun: missing parens
This commit is contained in:
commit
04c0d4fc84
1 changed files with 2 additions and 2 deletions
|
@ -875,7 +875,7 @@ cluster_runmany(_, _, [_Non|_Empty], []=_Nodes, []=_Running, _) ->
|
||||||
-ifdef(fun_stacktrace).
|
-ifdef(fun_stacktrace).
|
||||||
runmany_wrap(Fun, Parent) ->
|
runmany_wrap(Fun, Parent) ->
|
||||||
try
|
try
|
||||||
Fun
|
Fun()
|
||||||
catch
|
catch
|
||||||
exit:siblingdied ->
|
exit:siblingdied ->
|
||||||
ok;
|
ok;
|
||||||
|
@ -889,7 +889,7 @@ runmany_wrap(Fun, Parent) ->
|
||||||
-else.
|
-else.
|
||||||
runmany_wrap(Fun, Parent) ->
|
runmany_wrap(Fun, Parent) ->
|
||||||
try
|
try
|
||||||
Fun
|
Fun()
|
||||||
catch
|
catch
|
||||||
exit:siblingdied ->
|
exit:siblingdied ->
|
||||||
ok;
|
ok;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue