mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-11 14:53:12 +00:00
fix: ues try_lock
This commit is contained in:
parent
848f66f327
commit
cf1f7dc443
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ impl LoroCore {
|
||||||
.write()
|
.write()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.hierarchy
|
.hierarchy
|
||||||
.lock()
|
.try_lock()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.subscribe_root(observer)
|
.subscribe_root(observer)
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ impl LoroCore {
|
||||||
.write()
|
.write()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.hierarchy
|
.hierarchy
|
||||||
.lock()
|
.try_lock()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.unsubscribe_root(subscription)
|
.unsubscribe_root(subscription)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue