Skip to content
  • Benjamin Otte's avatar
    treelistmodel: Delay notifies from TreeListRow · 3c76f3fb
    Benjamin Otte authored
    Don't notify during destruction, notify afterwards.
    This way we don't call into user code from a half-destructed node.
    
    Note that this changes the order in which those notifies happen when
    collapsing a large tree: From parent node before child nodes to child
    nodes before parent node.
    
    No actual use case for this, just thought it would be safer.
    3c76f3fb