Patch crash bug when closing symbol properties dialog.

This commit is contained in:
Jeff Young 2020-01-12 00:40:38 +00:00
parent 960b553a70
commit cc573eed31
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ public:
* For symbols derived from other symbols, IsRoot() indicates no derivation.
*/
bool IsRoot() const override { return m_parent.use_count() == 0; }
bool IsAlias() const { return !IsRoot(); }
bool IsAlias() const { return !m_parent.expired() && m_parent.use_count() > 0; }
const wxString GetLibraryName() const;