git ssb

1+

Matt McKegg / mutant



Commit f43712e86ae2ac4d1c6097f8b17eb2e21de06298

map: fix release of removed items

Matt McKegg committed on 9/7/2016, 2:47:57 AM
Parent: bf170bc7b3672405705146b57533b5850f041abc

Files changed

map.jschanged
map.jsView
@@ -92,8 +92,11 @@
9292 // clean up cache
9393 Array.from(lastValues.keys()).filter(notIncluded, obs).forEach(deleteEntry, lastValues)
9494 items.length = getLength(obs)
9595 values.length = items.length
96+ for (var index = items.length; index < raw.length; index++) {
97+ rebind(index)
98+ }
9699 }
97100
98101 return changed
99102 }

Built with git-ssb-web