Project

General

Profile

Actions

Feature #8684

closed

GC.disable with block

Added by Glass_saga (Masaki Matsushita) about 8 years ago. Updated about 8 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
Actions

Also available in: Atom PDF