graceful shutdown

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@364 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Javier Serrano Polo
2006-08-24 00:22:21 +00:00
parent 6dfe370968
commit be8c803fd7

View File

@@ -71,7 +71,10 @@ audioDevice::~audioDevice()
src_delete( m_srcState );
#endif
bufferAllocator::free( m_buffer );
unlock();
if( m_devMutex.locked() )
{
unlock();
}
}