Skip to content
  • Felipe Borges's avatar
    list-view: Use a single context_popover for the ListView · c9856cab
    Felipe Borges authored
    This fixes a crash while deleting a VM.
    
    Before we had a context_popover for each row in the ListView. This
    is less code but causes a race condition when the row gets deleted.
    
    It seems that when the row gets deleted the context_popover gets
    disposed. The dispose() method then attempts to disconnect the
    menu model which is already disposed, causing a double-free. Crash!
    c9856cab