1
0
Fork 0
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:
Roman Khafizianov 2021-12-13 13:42:36 +01:00
parent 892aa2aaa4
commit 9faddf8491
No known key found for this signature in database
GPG key ID: F07A7D55A2684852

View file

@ -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
}