mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-06 12:25:03 +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()
|
||||
.unwrap()
|
||||
.hierarchy
|
||||
.lock()
|
||||
.try_lock()
|
||||
.unwrap()
|
||||
.subscribe_root(observer)
|
||||
}
|
||||
|
@ -120,7 +120,7 @@ impl LoroCore {
|
|||
.write()
|
||||
.unwrap()
|
||||
.hierarchy
|
||||
.lock()
|
||||
.try_lock()
|
||||
.unwrap()
|
||||
.unsubscribe_root(subscription)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue