Le 24/01/2017 à 15:04, Dave Mitchell a écrit : > On Fri, Nov 25, 2016 at 05:23:32PM +0000, Dave Mitchell wrote: >> On Mon, Nov 14, 2016 at 05:46:38PM -0200, Vincent Pit (VPIT) wrote: >>> Sorry for the delay, I've been quite busy and completely forgot about your >>> message. >> >> No worries :-) >> >>>>> And is it intended that the free anon sub should called exactly once? >>> >>> Yes. >> >> Well, V::M currently calls the anon sub twice, while blead with my eval >> FREETMPS patch goes into an infinite loop. >> >> However, applying the proof-of-concept diff below makes it be called >> only once. > > Is there any likelihood of something similar to my proof-of-concept patch > being applied to Variable-Magic? > It has already been in git for a while. I was waiting for more feedback about why free callbacks could end up being called twice when recasting, but since it seems like an unrelated issue (it appeared somewhere during 5.23.x) I've just released a new version with your change. VincentThread Previous | Thread Next