Skip to content

Commit

Permalink
RemoteVST: process all remaining messages after the process has quit
Browse files Browse the repository at this point in the history
Courtesy of @justnope (#4371)
  • Loading branch information
Wallacoloo committed Jun 2, 2018
1 parent fad1362 commit 4fd8ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/RemotePlugin.cpp
Expand Up @@ -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 );
}
Expand Down

0 comments on commit 4fd8ecd

Please sign in to comment.