Skip to content

list-view: Use a single context_popover for the ListView

Felipe Borges requested to merge list-view-row-fix-crash-on-delete into master

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!

Merge request reports