Skip to content
Snippets Groups Projects
Commit 6b0bb3ed authored by Nathan Hertz's avatar Nathan Hertz
Browse files

Added check for execution in execution pool

parent 12917d8b
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,8 @@ class CapabilityService(CapabilityServiceIF):
self.queues[execution.capability.id] = queue
# Remove execution record from pool
self.execution_pool.remove(execution)
if execution in self.execution_pool:
self.execution_pool.remove(execution)
class CapabilityEngine(CapabilityEngineIF):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment