Skip to content

Commit

Permalink
fix another possible crash
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed May 13, 2022
1 parent 852c21e commit 81c6906
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vstgui/uidescription/editing/uiattributescontroller.cpp
Expand Up @@ -767,6 +767,10 @@ UIAttributesController::UIAttributesController (IController* baseController, UIS
//----------------------------------------------------------------------------------------------------
UIAttributesController::~UIAttributesController ()
{
if (viewNameLabel)
viewNameLabel->unregisterViewListener (this);
if (attributeView)
attributeView->unregisterViewListener (this);
selection->unregisterListener (this);
undoManager->unregisterListener (this);
editDescription->unregisterListener (this);
Expand Down

0 comments on commit 81c6906

Please sign in to comment.