Because a circular reference is when a reference to an object is stored in itself. When they are stored outside the object it is impossible for that to happen by definition.
On Sat, Mar 14, 2015 at 12:55 AM, [email protected] <[email protected]> wrote: > "by storing the callbacks outside of the delay object, we avoid circular > references entirely" > > I'm talking about this is not true. So you're wrong about that. Storing > callbacks outside of the delay object changes nothing at all and has no > effects. Could you try to explain, why do you thing that it does that? > Because other participants said something that "I don't have explain > anything to you" so I had no chances to prove that they are wrong without > having that wrong stuff > > > At least I've heard something that makes sense: you test your code >> with the help of Devel::Cycle and want hide leaks outside an object. >> > > You seem to be misunderstanding a few things, by storing the callbacks > outside of the delay object, we avoid circular references entirely, they > are not just hidden. And there never were any leaks in the first place, > just circular references that get resolved later on automatically. > > -- > sebastian > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
