From: MenTaLguY Date: 2008-01-11T07:50:24+09:00 Subject: Re: why does this code leak? On Fri, 11 Jan 2008 07:09:04 +0900, "Rick DeNatale" wrote: > Now since the VM doesn't look inside the block when creating a proc, > it has to assume that the binding of he context in which the block was > created has to be captured. Also, even if the VM did look inside the block to see which variables were captured, it has to keep all of them around anyway because they have to remain accessible because the binding is exposed via Proc#binding. (That's more or less the main reason why us JRuby folks aren't big fans of Proc#binding...) -mental