mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-22 12:57:20 +00:00
test: test failed if use non-cached diff calc
This commit is contained in:
parent
082a9c1ab8
commit
0635f0a036
1 changed files with 1 additions and 1 deletions
|
@ -1166,7 +1166,7 @@ impl LoroDoc {
|
|||
}
|
||||
|
||||
let mut state = self.state.lock().unwrap();
|
||||
let mut calc = self.diff_calculator.lock().unwrap();
|
||||
let mut calc = DiffCalculator::new(false);
|
||||
for &i in frontiers.iter() {
|
||||
if !oplog.dag.contains(i) {
|
||||
drop(oplog);
|
||||
|
|
Loading…
Reference in a new issue