Skip to content

Commit

Permalink
Merge branch 'raimo/erts/prim_inet-demonitor-on-exception/GH-8484/OTP…
Browse files Browse the repository at this point in the history
…-19121' into maint

* raimo/erts/prim_inet-demonitor-on-exception/GH-8484/OTP-19121:
  Update preloaded
  Demonitor after exception from port_command
  • Loading branch information
RaimoNiskanen committed Jun 18, 2024
2 parents fdcc857 + 81b6c52 commit 4291362
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified erts/preloaded/ebin/prim_inet.beam
Binary file not shown.
3 changes: 2 additions & 1 deletion erts/preloaded/src/prim_inet.erl
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,8 @@ send(S, HdrAndData, OptList, Mref) ->
end
catch error: _ ->
?DBG_FORMAT("prim_inet:send() -> {error,einval}~n", []),
{error,einval}
demonitor(Mref, [flush]),
{error,einval}
end.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down

0 comments on commit 4291362

Please sign in to comment.