VST3: fix failed c'tor case
~VST3PI() may call terminate() w/o a VST3 component.
This commit is contained in:
parent
a329de9d2f
commit
a1f40979bd
@ -1210,7 +1210,9 @@ VST3PI::terminate ()
|
||||
_controller->release ();
|
||||
}
|
||||
|
||||
if (_component) {
|
||||
_component->release ();
|
||||
}
|
||||
|
||||
_controller = 0;
|
||||
_component = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user