Skip to content
  • Sebastian Kaspari's avatar
    Closes #6297: GeckoEngineView: Detach SelectionActionDelegate if session is no longer rendered. · 0f923a26
    Sebastian Kaspari authored
    Our sample browser smoke tests revealed a memory leak (#6297). We attach a selection action delegate on
    GeckoSession but we never clear it. This leads to us leaking GeckoEngineView and its Context/Activity
    since the GeckoSession usually lives longer than any views.
    
    Internally GeckoSession attaches and detaches its own selection delegate (since it also has a reference
    to the activity). We are now doing the same if we are using a custom delegate.
    0f923a26
To find the state of this project's repository at the time of any of these versions, check out the tags.