Triggered when the script execution finishes.
The event is fired even if the
exit() or
die() function has been called.
Usage example:
public function subscribeEvents()
{
Backend::$events->addEvent('core:onUninitialize', $this, 'core_uninitialize');
}
public function core_uninitialize()
{
// Do something
}