private function cleanup_after_request() { // commit session if ($this->dispatcher->session_is_started()) { $this->dispatcher->session_commit(); } // Clean up the context $this->context->delete(); }