Skip to content

Commit dbe4d8a

Browse files
committed
Fix remote pid rendering
1 parent 03c40cb commit dbe4d8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/kino/utils.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ defmodule Kino.Utils do
3535
@spec supervisor?(atom() | pid()) :: boolean
3636
def supervisor?(supervisor) do
3737
with pid when is_pid(pid) <- GenServer.whereis(supervisor),
38-
{:dictionary, dictionary} <- Process.info(pid, :dictionary),
38+
{:dictionary, dictionary} <- :erpc.call(node(pid), Process, :info, [pid, :dictionary]),
3939
{:supervisor, _, _} <- dictionary[:"$initial_call"],
4040
do: true,
4141
else: (_ -> false)

0 commit comments

Comments
 (0)