Skip to content

Commit

Permalink
Rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom committed Mar 19, 2024
1 parent ee7cf48 commit b40b1e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/membrane/core/element.ex
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ defmodule Membrane.Core.Element do
end

defp do_handle_info(Message.new(:resume_delayed_demands_loop), state) do
state = DemandHandler.handle_resume_delayed_demands_loop(state)
state = DemandHandler.resume_delayed_demands_loop(state)
{:noreply, state}
end

Expand Down
4 changes: 2 additions & 2 deletions lib/membrane/core/element/demand_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ defmodule Membrane.Core.Element.DemandHandler do
PadModel.set_data!(state, pad_ref, :manual_demand_size, new_manual_demand_size)
end

@spec handle_resume_delayed_demands_loop(State.t()) :: State.t()
def handle_resume_delayed_demands_loop(%State{} = state) do
@spec resume_delayed_demands_loop(State.t()) :: State.t()
def resume_delayed_demands_loop(%State{} = state) do
%{state | resume_delayed_demands_loop_in_mailbox?: false}
|> handle_delayed_demands()
end
Expand Down

0 comments on commit b40b1e4

Please sign in to comment.