Forces GC to start only after Plugin/Theme DF generation
This commit is contained in:
@@ -18,10 +18,6 @@ module WPScan
|
|||||||
|
|
||||||
def before_scan
|
def before_scan
|
||||||
WPScan::DB::DynamicFinders::Wordpress.create_versions_finders
|
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
|
end
|
||||||
|
|
||||||
def run
|
def run
|
||||||
|
|||||||
Reference in New Issue
Block a user