From 7cc55f4bc4d836e8edcae05f1b500417fc2b71a3 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Tue, 12 May 2020 11:46:41 +0900 Subject: [PATCH] Thread#backtrace may return nil [ci skip] --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread.c b/thread.c index cb2bd8930a..7ecc535b88 100644 --- a/thread.c +++ b/thread.c @@ -5128,7 +5128,7 @@ rb_exec_recursive_paired_outer(VALUE (*func) (VALUE, VALUE, int), VALUE obj, VAL /* * call-seq: - * thread.backtrace -> array + * thread.backtrace -> array or nil * * Returns the current backtrace of the target thread. *