Forces GC to start only after Plugin/Theme DF generation

This commit is contained in:
erwanlr
2019-04-02 09:47:09 +01:00
parent e8f215ae00
commit 609b7551f8

View File

@@ -18,10 +18,6 @@ module WPScan
def before_scan
WPScan::DB::DynamicFinders::Wordpress.create_versions_finders
# Force the Garbage Collector to run due to the above method being
# quite heavy in objects allocation
GC.start
end
def run