Fix segfault on close.
git-svn-id: svn://localhost/ardour2/branches/3.0@10784 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
aed44005b2
commit
d325144ebc
|
@ -43,7 +43,7 @@ VSTPlugin::VSTPlugin (AudioEngine& engine, Session& session, VSTHandle* handle)
|
|||
|
||||
VSTPlugin::~VSTPlugin ()
|
||||
{
|
||||
deactivate ();
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -52,6 +52,7 @@ WindowsVSTPlugin::WindowsVSTPlugin (const WindowsVSTPlugin &other)
|
|||
|
||||
WindowsVSTPlugin::~WindowsVSTPlugin ()
|
||||
{
|
||||
deactivate ();
|
||||
fst_close (_state);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user