Commit bc4fdc66 authored by Maxime Perrotin's avatar Maxime Perrotin

Use hide() to remove messages from the mscs

parent e1a2a45b
......@@ -147,6 +147,9 @@ class MscStreamingScene(MscGraphBasicMSCScene):
item = self.visible_items.popleft()
firstY = item.y()
item.hide()
# Can't call removeGenericItem because it is not associated to
# the bMSC, as it was created with addMessage2. This flow should
# be clarified. This is a memory leak...
#self.removeGenericItem(item)
while len(self.visible_items) > self.max_items:
item = self.visible_items.popleft()
......
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