1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-10 10:00:46 +09:00

Merge pull request #1305 from anyproto/go-2140-add-ctx-to-close-event

GO-2140 Add ctx to close event
This commit is contained in:
Kirill Stonozhenko 2024-06-12 12:08:19 +02:00 committed by GitHub
commit 37adcc96cc
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -362,6 +362,7 @@ func (sb *smartBlock) Init(ctx *InitContext) (err error) {
func (sb *smartBlock) sendObjectCloseEvent(_ ApplyInfo) error {
sb.sendEvent(&pb.Event{
ContextId: sb.Id(),
Messages: []*pb.EventMessage{{
Value: &pb.EventMessageValueOfObjectClose{
ObjectClose: &pb.EventObjectClose{