Fix variable type.
This commit is contained in:
parent
6f58bffc5c
commit
44766945fc
@ -353,7 +353,7 @@ module Kernel
|
||||
|
||||
def ignore_interrupts(quiet: false)
|
||||
IGNORE_INTERRUPTS_MUTEX.synchronize do
|
||||
interrupted = false
|
||||
interrupted = T.let(false, T::Boolean)
|
||||
old_sigint_handler = trap(:INT) do
|
||||
interrupted = true
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user