From 0e30a819ceca3c679fa61b8e8153ef8f67f041de Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] clean up __ln property when remove node --- src/record/mutation.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/record/mutation.ts b/src/record/mutation.ts index 9bd5817a..ef781b9b 100644 --- a/src/record/mutation.ts +++ b/src/record/mutation.ts @@ -93,6 +93,9 @@ class DoubleLinkedList { current.next.previous = current.previous; } } + if (n.__ln) { + delete n.__ln; + } this.length--; } }