Commit 2f5fe85b authored by Georgios Dagkakis's avatar Georgios Dagkakis

Source fix so that it does not send signals if there is no need to

parent 3dccd7df
...@@ -131,6 +131,9 @@ class Source(CoreObject): ...@@ -131,6 +131,9 @@ class Source(CoreObject):
if self.entityCreated.signalparam: if self.entityCreated.signalparam:
self.appendEntity(self.entityCreated.signalparam) self.appendEntity(self.entityCreated.signalparam)
self.entityCreated.signalparam=None self.entityCreated.signalparam=None
# if self.signalReceiver():
# continue
if len(self.getActiveObjectQueue())==1:
if self.signalReceiver(): if self.signalReceiver():
continue continue
# otherwise, if the receiver requests availability then try to signal him if there is anything to dispose of # otherwise, if the receiver requests availability then try to signal him if there is anything to dispose of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment