Skip to content

Commit 97de5e0

Browse files
committed
Fix missing context arg in reactor_close_fd call
1 parent 5656db8 commit 97de5e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/py_reactor_context.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ handle_fd_handoff(Fd, ClientInfo, State) ->
339339

340340
{error, _Reason} ->
341341
%% Failed to init connection, close
342-
py_nif:reactor_close_fd(FdRef),
342+
py_nif:reactor_close_fd(Ref, FdRef),
343343
loop(State)
344344
end;
345345

0 commit comments

Comments
 (0)