[#65451] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...

Issue #10333 has been updated by Koichi Sasada.

9 messages 2014/10/07

[ruby-core:65809] [ruby-trunk - Feature #10404] [Open] Allow individual finalizers to be removed with ObjectSpace.undefine_finalizer

From: alex@...
Date: 2014-10-20 08:14:37 UTC
List: ruby-core #65809
Issue #10404 has been reported by Alex Boyd.

----------------------------------------
Feature #10404: Allow individual finalizers to be removed with ObjectSpace.undefine_finalizer
https://bugs.ruby-lang.org/issues/10404

* Author: Alex Boyd
* Status: Open
* Priority: Normal
* Assignee: Yukihiro Matsumoto
* Category: core
* Target version: 
----------------------------------------
Pretty self-explanatory: allow removal of individual define_finalizer blocks without removing all of them as undefine_finalizer currently does.

From an API standpoint, this could be done by having define_finalizer return some sort of unique value (maybe an integer, or perhaps the type is unspecified), and this value could then be passed as undefine_finalizer's second argument to remove just that finalizer.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next