Reset chaining context in MeasurementContainer.clear()

Closes #25

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Rene De Ren
2026-03-11 15:06:17 +01:00
parent 135dfc31d3
commit 89aec9a7eb
6 changed files with 25 additions and 9 deletions

View File

@@ -455,6 +455,8 @@ difference({ from = "downstream", to = "upstream", unit: requestedUnit } = {}) {
this._currentType = null;
this._currentVariant = null;
this._currentPosition = null;
this._currentDistance = null;
this._unit = null;
}
// Helper method for value conversion