RemoteVST: process all remaining messages after the process has quit

Courtesy of @justnope (https://github.com/LMMS/lmms/pull/4371)
This commit is contained in:
Colin Wallace
2018-06-01 20:53:35 -07:00
parent fad13626bc
commit 4fd8ecd7e4

View File

@@ -54,7 +54,7 @@ ProcessWatcher::ProcessWatcher( RemotePlugin * _p ) :
void ProcessWatcher::run()
{
while( !m_quit && m_plugin->isRunning() )
while( !m_quit && (m_plugin->isRunning() || m_plugin->messagesLeft()) )
{
msleep( 200 );
}