Skip to content

Instantly share code, notes, and snippets.

View mjw's full-sized avatar

Marcus Williams mjw

  • bar-coded
  • Cambridge, UK
View GitHub Profile
@mjw
mjw / 20.pod
Created June 20, 2011 13:29 — forked from SpiceMan/20.pod
Leak checking in Catalyst

Checking for leaks in MyApp.

Wait a minute. Catalyst leaks? No, but our application might be leaking.

The single most common leak cause in Catalyst, which we'll cover later, is stashing a closure which needs to use the Catalyst context (usually $ctx or $c). But that's hardly the only cause.

The Real Culprit(TM): circular references