mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-11 02:13:41 +09:00
builtinObjects: call cancel in close
This commit is contained in:
parent
892aa2aaa4
commit
9faddf8491
1 changed files with 3 additions and 0 deletions
|
@ -255,5 +255,8 @@ func (b *builtinObjects) validate(st *state.State) (err error) {
|
|||
}
|
||||
|
||||
func (b *builtinObjects) Close() (err error) {
|
||||
if b.cancel != nil {
|
||||
b.cancel()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue