diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-06-17 00:42:46 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-06-17 12:30:18 +0900 |
| commit | a60bf9e693706c69484521d4967c9beb4d45772b (patch) | |
| tree | 29ae5308d700b94cecac1638eb00009150b771eb /thread.c | |
| parent | c09619d91163ea7c042ee3b5de20c23eaf5a2aba (diff) | |
* adjust indent
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13634
Diffstat (limited to 'thread.c')
| -rw-r--r-- | thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6229,7 +6229,8 @@ threadptr_interrupt_exec_exec(rb_thread_t *th) if (task) { if (task->flags & rb_interrupt_exec_flag_new_thread) { rb_thread_create(task->func, task->data); - } else { + } + else { (*task->func)(task->data); } ruby_xfree(task); |
