13
0

Fix segfault on close.

git-svn-id: svn://localhost/ardour2/branches/3.0@10784 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-11-23 00:55:34 +00:00
parent aed44005b2
commit d325144ebc
2 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,7 @@ VSTPlugin::VSTPlugin (AudioEngine& engine, Session& session, VSTHandle* handle)
VSTPlugin::~VSTPlugin ()
{
deactivate ();
}
void

View File

@ -52,6 +52,7 @@ WindowsVSTPlugin::WindowsVSTPlugin (const WindowsVSTPlugin &other)
WindowsVSTPlugin::~WindowsVSTPlugin ()
{
deactivate ();
fst_close (_state);
}