Closed peterix closed 3 years ago
Fix crash bug when merged entries annul each other: (a -> b) | (b -> a) => nil needs to decrement the current counter, otherwise the next apply() operation will crash on at record.rs:195
(a -> b) | (b -> a) => nil
current
apply()
Thanks for the PR!
This does not compile though, i guess you meant self.current -= 1 instead?
self.current -= 1
Yeah ... well, I did it in the github web editor.
Fix crash bug when merged entries annul each other:
(a -> b) | (b -> a) => nil
needs to decrement thecurrent
counter, otherwise the nextapply()
operation will crash on at record.rs:195