remove "\n" for RUBY_DEBUG_LOG()

because `RUBY_DEBUG_LOG()` add "\n" at the end of message.
This commit is contained in:
Koichi Sasada 2023-03-31 18:15:04 +09:00
parent ad7362db07
commit 4c0f82eb5b

View File

@ -2321,7 +2321,7 @@ rb_threadptr_execute_interrupts(rb_thread_t *th, int blocking_timing)
/* exception from another thread */
if (pending_interrupt && threadptr_pending_interrupt_active_p(th)) {
VALUE err = rb_threadptr_pending_interrupt_deque(th, blocking_timing ? INTERRUPT_ON_BLOCKING : INTERRUPT_NONE);
RUBY_DEBUG_LOG("err:%"PRIdVALUE"\n", err);
RUBY_DEBUG_LOG("err:%"PRIdVALUE, err);
ret = TRUE;
if (UNDEF_P(err)) {