diff options
| author | bptato <nincsnevem662@gmail.com> | 2025-03-29 18:46:46 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2025-03-29 19:10:39 +0100 |
| commit | 7f4be1ea998aa6e5a1e73a3939b1989e5e8cf0c3 (patch) | |
| tree | d2b8ab3ca56881c3b395355de2e341a41c77769c /src | |
| parent | 906956d3663fb335440a46ead7e1e4185065ab05 (diff) | |
| download | chawan-7f4be1ea998aa6e5a1e73a3939b1989e5e8cf0c3.tar.gz | |
dom: remove expensive assertion
Diffstat (limited to 'src')
| -rw-r--r-- | src/html/dom.nim | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim index 7f51adae..e2e872db 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -1381,7 +1381,6 @@ proc finalize0(collection: Collection) = let i = child.liveCollections.find(collection.id) assert i != -1 child.liveCollections[i] = nil - assert child.liveCollections.find(collection.id) == -1 let i = collection.root.liveCollections.find(collection.id) assert i != -1 collection.root.liveCollections[i] = nil |