Skip to content

Commit 3c1106c

Browse files
kidq330mat-hek
andauthored
Apply suggestion from @mat-hek
Co-authored-by: Mateusz Front <mateusz.front@swmansion.com>
1 parent ca72c24 commit 3c1106c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/membrane/core/bin/pad_controller.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ defmodule Membrane.Core.Bin.PadController do
9090
Message.send(state.parent_pid, :child_pad_removed, [state.name, pad_ref])
9191
PadModel.delete_data!(state, pad_ref)
9292
else
93+
# This is to handle the case when a bin pad is removed and then the bin removes its child linked to this pad
9394
state
9495
end
9596
end

0 commit comments

Comments
 (0)