Index: branches/5.2.x/core/kernel/managers/request_manager.php =================================================================== --- branches/5.2.x/core/kernel/managers/request_manager.php +++ branches/5.2.x/core/kernel/managers/request_manager.php @@ -50,6 +50,7 @@ if ( $event->status == kEvent::erSTOP ) { // event requested to stop processing at this point kUtil::safeDefine('DBG_SKIP_REPORTING', 1); + $this->Application->HandleEvent(new kEvent('adm:OnBeforeShutdown')); $this->Application->Session->SaveData(); exit; }