diff --git a/src/client/spark/core/Utility/ObjectSnapshot.cs b/src/client/spark/core/Utility/ObjectSnapshot.cs index 9beec7c87..7e991d4ff 100644 --- a/src/client/spark/core/Utility/ObjectSnapshot.cs +++ b/src/client/spark/core/Utility/ObjectSnapshot.cs @@ -258,7 +258,7 @@ namespace bts.utils { _property_monitors[pm_pos++] = (pad.prop_info.Name, initialize, refresh); } } - ArrayHelper.trim(ref _property_monitors, _property_monitors.Length - pm_pos); + ArrayHelper.trim(ref _property_monitors, pm_pos); } public IDisposable detect_changes(T target) {