{"version":"2.1.277","anchor":"native-update-cleans-up-orphaned-staging-directories-on-ever","canonical_anchor":"native-update-cleans-up-orphaned-staging-directories-on-ever","heading":"Native update cleans up orphaned staging directories on every check","tier":"internal","area":"Updater","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/native-update-cleans-up-orphaned-staging-directories-on-ever","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Native update cleans up orphaned staging directories on every check\n\nNative updater's orphaned-staging-folder cleanup was refactored into its own function, always run before plugin-lock cleanup\n\n**What**\n\nThe cleanup logic that removes leftover staging directories from the native updater has been pulled out into its own dedicated function, and is now always run before the plugin-lock cleanup step, rather than being interleaved inline with it as before.\n\n**Why**\n\nThis is a reordering and cleanup of internal update logic; the staging cleanup ran unconditionally before too, so this mainly changes the order and structure of the code rather than adding new behavior.\n\n- Area: Updater\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}