GC.disable with block
I propose GC.disable with block.
It is useful to ensure GC.enable.
do_something # GC disabled
Updated by matz (Yukihiro Matsumoto) over 9 years ago
- Status changed from Open to Rejected
It's easily done by
and considering block scoping doesn't work well with threads, I don't think it's worth to add as a built-in.