mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-13 11:38:24 -04:00
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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user