Skip to content
Open
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
6 changes: 3 additions & 3 deletions src/recon.erl
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,6 @@ proc_info(Pid, binary_memory) ->
{binary, Bins} ->
{binary_memory, recon_lib:binary_memory(Bins)}
end;
proc_info(Pid, Term) when is_atom(Term) ->
erlang:process_info(Pid, Term);
proc_info(Pid, List) when is_list(List) ->
case lists:member(binary_memory, List) of
false ->
Expand All @@ -244,7 +242,9 @@ proc_info(Pid, List) when is_list(List) ->
undefined -> undefined;
Res when is_list(Res) -> proc_fake(List, Res)
end
end.
end;
proc_info(Pid, Term) ->
erlang:process_info(Pid, Term).

%% @private Replace keys around
replace(_, _, []) -> [];
Expand Down