Project

General

Profile

Feature #8684

GC.disable with block

Added by Glass_saga (Masaki Matsushita) almost 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
[ruby-core:56168]

Description

I propose GC.disable with block.
It is useful to ensure GC.enable.

usage:

GC.disable do
do_something # GC disabled
end

GC enabled


Files

patch.diff (792 Bytes) patch.diff Glass_saga (Masaki Matsushita), 07/25/2013 08:40 PM

Also available in: Atom PDF