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:
commit
37adcc96cc
1 changed files with 1 additions and 0 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue