--------------------------------- EditorSplitNode::d-tor
| 36 | // EditorSplitNode::d-tor |
| 37 | // |
| 38 | EditorSplitNode::~EditorSplitNode() |
| 39 | { |
| 40 | if (m_Paned == nullptr) |
| 41 | { |
| 42 | return; |
| 43 | } |
| 44 | |
| 45 | // in case of collapsing, the surviving child should be set to nullptr in the split before calling the destructor |
| 46 | SafeDelete(m_Child1); |
| 47 | SafeDelete(m_Child2); |
| 48 | |
| 49 | // if this nodes UI is unlinked from its attachment, we need to manually delete the UI |
| 50 | if (m_Paned->get_parent() == nullptr) |
| 51 | { |
| 52 | delete m_Paned; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | //--------------------------------- |
| 57 | // EditorSplitNode::InitInternal |
nothing calls this directly
no test coverage detected