Skip to content
  • Kris Maglione's avatar
    Bug 1555632: Add separate AddonManager.beforeShutdown barrier and use where appropriate. r=aswan · 5a79a749
    Kris Maglione authored
    The AddonManager.shutdown barrier blocks the final phase of AddonManager
    shutdown, which means that things which use it to mean "I need to do this
    before the add-on manager shuts down" are generally broken.
    
    This patch adds a separate beforeShutdown barrier which blocks the start of
    provider shutdown, and changes existing broken consumers to use it. It also
    renames the existing barrier to `AddonManagerPrivate.finalShutdown` to make it
    clearer a) what it does, and b) that only internal AddonManager code should
    use it.
    
    Differential Revision: https://phabricator.services.mozilla.com/D33195
    
    --HG--
    extra : rebase_source : dbb3d196831abe4960e913c724ff6df2b5adfdff
    5a79a749