< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Issue #15974 has been updated by shevegen (Robert A. Heiler).
> Matz has approved this proposal.
\o/
----------------------------------------
Feature #15974: Warn in verbose mode on defining a finalizer that captures the object
https://bugs.ruby-lang.org/issues/15974#change-79049
* Author: chrisseaton (Chris Seaton)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
----------------------------------------
There's a really common mistake people make when using `define_finalizer` - they capture the object in the finalizer.
https://www.mikeperham.com/2010/02/24/the-trouble-with-ruby-finalizers/
This PR warns about that, when in verbose mode (it's too slow to do always.)
https://github.com/ruby/ruby/pull/2264
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>