Add Garbage collection after tools/reports

Fixes #10287
This commit is contained in:
prculley 2018-01-18 08:59:22 -06:00 committed by Nick Hall
parent bf826637ab
commit ba4b3eaef6

View File

@ -39,6 +39,7 @@ import time
import datetime import datetime
from io import StringIO from io import StringIO
import posixpath import posixpath
import gc
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -1766,6 +1767,7 @@ def run_plugin(pdata, dbstate, uistate):
name=pdata.id, name=pdata.id,
category=pdata.category, category=pdata.category,
callback=dbstate.db.request_rebuild) callback=dbstate.db.request_rebuild)
gc.collect(2)
def make_plugin_callback(pdata, dbstate, uistate): def make_plugin_callback(pdata, dbstate, uistate):
""" """