Commit 4edf5e59 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Portal Type as Classes: Fix memory leak: Workflow method list was never...

Portal Type as Classes: Fix memory leak: Workflow method list was never emptied and thus reset Workflow Methods were never GC.
parent 5a1415d2
......@@ -117,6 +117,8 @@ def resetRegisteredWorkflowMethod(portal_type=None):
for method in workflow_method_registry:
method.reset(portal_type=portal_type)
del workflow_method_registry[:]
class WorkflowMethod(Method):
def __init__(self, method, id=None, reindex=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