* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\event;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\HttpKernel\Event\PostResponseEvent;
class kernel_terminate_subscriber implements EventSubscriberInterface
{
/**
* This listener is run when the KernelEvents::TERMINATE event is triggered
* This comes after a Response has been sent to the server; this is
* primarily cleanup stuff.
*
* @param PostResponseEvent $event
* @return null
*/
public function on_kernel_terminate(PostResponseEvent $event)
{
exit_handler();
}
static public function getSubscribedEvents()
{
return array(
KernelEvents::TERMINATE => array('on_kernel_terminate', ~PHP_INT_MAX),
);
}
}
a<W|'d$s'$Q;_W>Ax"Q>EWLH
.>bG0Q2 νvϱ^Zlpv b,F~ Wq4kgvnh;X|pMT[Qg0,F9?Y\ 8
'Xp
|9w.lHͻx9p4k8!Q[ܢCocj upv T4Cu g\p
F6d;kTf
U5TQwא .m8y? ̶~p̶{@Bc?E+aoZY-/-j@뱪-5iŸ,5Wb6E
^`+y{d^D!*Y,f{Y#%qZbJe
[Cb=&KT2l/kf!3~l5¦|Ř55WUp),֗
˪9IrhaDp?+4
I9>JQ♻
S $gS2g$@%&Wی~5`MVsc8'xkoA`d/4LYy{G+T%jH}(30]x"l]gizDjPV(j<W39nt:dm