Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Add disable connection logging message.
Browse files Browse the repository at this point in the history
  • Loading branch information
techyian committed Jan 13, 2020
1 parent 2950df8 commit da99eb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MMALSharp/Components/MMALComponentBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ public void DisableConnections()
{
if (port.ConnectedReference != null)
{
MMALLog.Logger.LogDebug($"Disabling connection between {this.Name} and {port.ConnectedReference.DownstreamComponent.Name}");

// This component has an output port connected to another component.
port.ConnectedReference.DownstreamComponent.DisableConnections();

Expand Down

0 comments on commit da99eb5

Please sign in to comment.