delete automation-pattern is in correct thread (closes #2008232)

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1271 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-07-05 07:03:48 +00:00
parent 0d0be324b6
commit 42da7c9ddf
2 changed files with 9 additions and 1 deletions

View File

@@ -42,7 +42,10 @@ public:
virtual ~inlineAutomation()
{
delete m_autoPattern;
if( m_autoPattern )
{
m_autoPattern->deleteLater();
}
}
inline bool hasAutomation( void ) const