mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
VST3: explicitly close and release view
A call to VST3Plugin::has_editor() can create the view of a plugin. If the GUI is never displayed, the view would not have been released, which can lead to crashes when unloading the plugin.
This commit is contained in:
parent
3c4801bc96
commit
05d2a0f4a4
1 changed files with 2 additions and 0 deletions
|
|
@ -1106,6 +1106,8 @@ VST3PI::unit_data ()
|
|||
void
|
||||
VST3PI::terminate ()
|
||||
{
|
||||
close_view ();
|
||||
|
||||
/* disable all MIDI busses */
|
||||
set_event_bus_state (false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue