{"version":"2.1.238","anchor":"pending-writes-get-a-chance-to-finish-before-exit","canonical_anchor":"pending-writes-get-a-chance-to-finish-before-exit","heading":"Pending writes get a chance to finish before exit","tier":"notice","area":"Shutdown","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238\/e\/pending-writes-get-a-chance-to-finish-before-exit","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238","markdown":"### Pending writes get a chance to finish before exit\n\nQuitting now waits briefly so queued writes and telemetry finish instead of being cut off.\n\n**What**\n\nTwo exit paths in the UI now await a shared exit helper instead of terminating the process immediately, so queued writes and telemetry can land first.\n\n**Details**\n\n- New helpers drain a cleanup queue and a pre-exit flush queue before the process ends.\n- The path that disarms auto-react also flushes its state on the way out.\n\n**Evidence**\n\n`preExitFlush`\n\n- Area: Shutdown\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5"}