mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 07:26:32 +01:00
VST3: fix failed c'tor case
~VST3PI() may call terminate() w/o a VST3 component.
This commit is contained in:
parent
a329de9d2f
commit
a1f40979bd
1 changed files with 3 additions and 1 deletions
|
|
@ -1210,7 +1210,9 @@ VST3PI::terminate ()
|
|||
_controller->release ();
|
||||
}
|
||||
|
||||
_component->release ();
|
||||
if (_component) {
|
||||
_component->release ();
|
||||
}
|
||||
|
||||
_controller = 0;
|
||||
_component = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue