Skip to content

Commit

Permalink
grc: Make core.Connection.type not lazy
Browse files Browse the repository at this point in the history
This fixes an issue where virtual blocks can not correctly update their
type when connected to message sources/sinks.

Signed-off-by: Martin Braun <[email protected]>
  • Loading branch information
mbr0wn committed Dec 19, 2023
1 parent 6404f37 commit e85a3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grc/core/Connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def source_block(self):
def sink_block(self):
return self.sink_port.parent_block

@lazy_property
@property
def type(self):
return self.source_port.domain, self.sink_port.domain

Expand Down

0 comments on commit e85a3bb

Please sign in to comment.