From bb73f528ecf5bff6d501015b20c5b0d3d7a90a7c Mon Sep 17 00:00:00 2001 From: Elias Holzer Date: Tue, 10 Dec 2024 21:18:06 +0100 Subject: [PATCH] Fixes crash when connecting to SubChannels node --- src/EffectHost.Reflection.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/EffectHost.Reflection.cs b/src/EffectHost.Reflection.cs index c977c33..d464e78 100644 --- a/src/EffectHost.Reflection.cs +++ b/src/EffectHost.Reflection.cs @@ -7,6 +7,7 @@ using System.Runtime.CompilerServices; using VL.Audio.VST.Internal; using VL.Core; +using VL.Core.CompilerServices; using VL.Core.Reactive; using VL.Lib.Collections; using VST3; @@ -26,8 +27,8 @@ partial class EffectHost : IVLObject, INotifyPropertyChanged LoadProperties = typeInfo => LoadProperties(typeInfo, this) }; - - event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged + [Smell(SymbolSmell.Internal)] + public event PropertyChangedEventHandler? PropertyChanged { add => propertyChanged += value; remove => propertyChanged -= value;