Skip to content

Commit

Permalink
Cleanup Plugin's resize callback when the Plugin Editor is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnnz committed Mar 26, 2022
1 parent db9fd46 commit 0326814
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/dialogs/pluginWindowGUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ void gdPluginWindowGUI::openEditor()

void gdPluginWindowGUI::closeEditor()
{
m_plugin.setResizeCallback(nullptr);
m_editor.reset();
}
} // namespace giada::v
Expand Down

0 comments on commit 0326814

Please sign in to comment.