summaryrefslogtreecommitdiff
path: root/debug_counter.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug_counter.c')
-rw-r--r--debug_counter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug_counter.c b/debug_counter.c
index 11ec57a961..af858115d2 100644
--- a/debug_counter.c
+++ b/debug_counter.c
@@ -92,7 +92,8 @@ rb_debug_counter_show_results(const char *msg)
VALUE
rb_debug_counter_show(RB_UNUSED_VAR(VALUE klass))
{
- rb_debug_counter_show_results("method call");
+ rb_debug_counter_show_results("show_debug_counters");
+ ruby_debug_counter_show_at_exit(FALSE);
return Qnil;
}