BatchReassemble, if no router is initiated the pendingEntities list is not populated - reassemble()

parent 60abe42d
......@@ -155,8 +155,9 @@ class BatchReassembly(CoreObject):
# if the activeEntity is in the pendingEntities list then place the subBatches there
if activeObjectQueue[0] in G.pendingEntities:
G.pendingEntities.append(batchToBeReassembled)
for entity in activeObjectQueue:
G.pendingEntities.remove(entity)
if G.Router:
for entity in activeObjectQueue:
G.pendingEntities.remove(entity)
del activeObjectQueue[:]
batchToBeReassembled.numberOfSubBatches = 1
......
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