{"version":"2.0.36","anchor":"enhanced-session-end-handling","canonical_anchor":"enhanced-session-end-handling","heading":"Enhanced Session End Handling","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.36\/e\/enhanced-session-end-handling","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.36","markdown":"### Enhanced Session End Handling\n\n**What:** Session end processing now includes session hook cleanup and accepts additional configuration **Details:**\n\n- Function renamed from `Hf1()` to `Tf1()` with enhanced parameters (signature at line 483476)\n- Now accepts options object with `getAppState`, `setAppState`, `signal`, `timeoutMs`\n- Automatically clears session hooks after executing SessionEnd hooks (cleanup call `il2(I, J)` at line 483506)\n- Prevents session hook accumulation across multiple sessions\n- **Evidence**: Old function `Hf1 at line 482867` (removed), new function `Tf1 at line 483476` (added), session hook clearing at `line 483506`"}