summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index a9642b7949..aaf0cd9fad 100644
--- a/thread.c
+++ b/thread.c
@@ -5275,7 +5275,7 @@ rb_reset_coverages(void)
VALUE
rb_uninterruptible(VALUE (*b_proc)(ANYARGS), VALUE data)
{
- VALUE interrupt_mask = rb_hash_new();
+ VALUE interrupt_mask = rb_ident_hash_new();
rb_thread_t *cur_th = GET_THREAD();
rb_hash_aset(interrupt_mask, rb_cObject, sym_never);