Skip to content

Commit

Permalink
Fix dialyzer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom committed Dec 6, 2022
1 parent ed674ff commit 49000fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/membrane/bin/action.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Membrane.Bin.Action do
callback unless explicitly stated otherwise.
"""

alias Membrane.{Child, ChildrenSpec}
alias Membrane.{Child, ChildrenSpec, Pad}

@typedoc """
Action that sends a message to a child identified by name.
Expand Down
2 changes: 1 addition & 1 deletion lib/membrane/core/bin/pad_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ defmodule Membrane.Core.Bin.PadController do
state = PadModel.update_data!(state, pad_ref, &%{&1 | link_id: link_id, options: pad_options})
state = maybe_handle_pad_added(pad_ref, state)

unless PadModel.get_data!(state, pad_ref, :endpoint) do
unless PadModel.get_data!(state, pad_ref, :endpoint) |> IO.inspect(label: "dupa") do
# If there's no endpoint associated to the pad, no internal link to the pad
# has been requested in the bin yet
Process.send_after(self(), Message.new(:linking_timeout, pad_ref), 5000)
Expand Down
2 changes: 1 addition & 1 deletion lib/membrane/pipeline/action.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Membrane.Pipeline.Action do
callback unless explicitly stated otherwise.
"""

alias Membrane.{Child, ChildrenSpec}
alias Membrane.{Child, ChildrenSpec, Pad}

@typedoc """
Action that sends a message to a child identified by name.
Expand Down

0 comments on commit 49000fd

Please sign in to comment.