mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Preallocate SystemStackError; ref #3421
This commit is contained in:
+1
-1
@@ -263,7 +263,7 @@ mrb_print_backtrace(mrb_state *mrb)
|
||||
{
|
||||
mrb_value backtrace;
|
||||
|
||||
if (!mrb->exc || mrb_obj_is_kind_of(mrb, mrb_obj_value(mrb->exc), E_SYSSTACK_ERROR)) {
|
||||
if (!mrb->exc) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user