{"version":"2.1.259","anchor":"session-end-hook-flow-now-also-runs-an-additional-flushcall","canonical_anchor":"session-end-hook-flow-now-also-runs-an-additional-flushcall","heading":"Session-end hook flow now also runs an additional flush\/callback pass and handles a bad timeout getter","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.259\/e\/session-end-hook-flow-now-also-runs-an-additional-flushcall","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.259","markdown":"### Session-end hook flow now also runs an additional flush\/callback pass and handles a bad timeout getter\n\nSession-end hooks now fall back to a default timeout if the lookup fails, and get an extra flush pass first.\n\nSession shutdown now wraps the session-end hook timeout lookup in a try\/catch, falling back to `SESSION_END_HOOK_TIMEOUT_MS_DEFAULT` if the lookup fails, and adds an extra await step before the session-end hooks run.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}