Merge pull request #2623 from bjalfi/RemotePlugin_shm_fixup

Fixup Zynaddsubfx-GUI on FreeBSD
This commit is contained in:
Tres Finocchiaro
2016-03-01 09:34:54 -05:00

View File

@@ -221,9 +221,6 @@ public:
~shmFifo()
{
#ifndef USE_QT_SHMEM
shmdt( m_data );
#endif
// master?
if( m_master )
{
@@ -235,6 +232,9 @@ public:
sem_destroy( m_messageSem );
#endif
}
#ifndef USE_QT_SHMEM
shmdt( m_data );
#endif
}
inline bool isInvalid() const