summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index 0c8d3d1a48..57fa8c14ca 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -291,6 +291,8 @@ ERROR_MESSAGE
node.loaded_recipe(cookbook_name, recipe_short_name)
cookbook = cookbook_collection[cookbook_name]
cookbook.load_recipe(recipe_short_name, self)
+ GC::Tracer.custom_event_logging("after #{recipe_name} compiled")
+ GC.start(full_mark: true)
end
end