mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Unmarshall head updates with sync pool
This commit is contained in:
parent
b7f35484b2
commit
c271269722
3 changed files with 26 additions and 1 deletions
|
@ -52,6 +52,7 @@ func (s *syncHandler) HandleHeadUpdate(ctx context.Context, statusUpdater syncst
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
objectmessages.FreeHeadUpdate(update)
|
||||
if treeSyncMsg.GetContent().GetHeadUpdate() == nil {
|
||||
return nil, ErrUnexpectedMessageType
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue