ezsystems/ezpublish-kernel — pull request #849 by bdunogier (2014-05-10 14:05:24+00:00)
Title: EZP-22817: Error running legacy scripts

> Fixes https://jira.ez.no/browse/EZP-22817

Stored references to the handlers weren't properly passed to the closure, resulting in the kernel being rebooted. Since some feature, such as legacy scripts, rely on those references, they were broken.

The patch changes `Kernel\Loader` references to the `ezpKernelHandler` instances to regular variables.