Commit 2726366b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b6f566b7
...@@ -447,6 +447,9 @@ func (δFtail *ΔFtail) Update(δZ *zodb.EventCommit) (_ ΔF, err error) { ...@@ -447,6 +447,9 @@ func (δFtail *ΔFtail) Update(δZ *zodb.EventCommit) (_ ΔF, err error) {
inroot, ok := δFtail.zinroot[zoid] inroot, ok := δFtail.zinroot[zoid]
if ok { if ok {
inroot.Del(δftail.root) inroot.Del(δftail.root)
if len(inroot) == 0 {
delete(δFtail.zinroot, zoid)
}
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment