e3c310961808bbf81566e5ebb41d32952dff984b
This fixes crashes with plugins calling setDirty() when the UI is closed. `plugin` has already been reset before the actual window is closed: `PluginUIWindow::~PluginUIWindow()` runs, and destroys the window, here `~VST3NSViewPluginUI ()`. This closes the VST3 view, which triggers a `VST3PI::setDirty`. At this point in time `~PlugUIBase()` has not yet run, so all signals are still connected. setDirty() ends up calling PlugUIBase::update_preset_modified() which access `plugin` pointer, which is NULL.
Please see the Ardour web site at http://ardour.org/ for all documentation..
For information on building ardour:
http://ardour.org/development.html
Description
Languages
C++
56.5%
C
39.6%
JavaScript
1.3%
Lua
0.9%
Python
0.6%
Other
0.9%