Skip to content

Commit

Permalink
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion machine/vm.cpp
Original file line number Diff line number Diff line change
@@ -177,7 +177,12 @@ namespace rubinius {
}

if(interrupt_by_kill()) {
set_check_local_interrupts();
if(state->vm()->thread()->current_fiber()->root_p()) {
clear_interrupt_by_kill();
} else {
set_check_local_interrupts();
}

thread_state_.raise_thread_kill();

return true;

0 comments on commit 0da995f

Please sign in to comment.