From 21467f0a19677dbd644802087bf1dd6fbab0462f Mon Sep 17 00:00:00 2001 From: Colin Wallace Date: Fri, 1 Jun 2018 20:53:35 -0700 Subject: [PATCH] RemoteVST: process all remaining messages after the process has quit Courtesy of @justnope (https://github.com/LMMS/lmms/pull/4371) --- src/core/RemotePlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/RemotePlugin.cpp b/src/core/RemotePlugin.cpp index 3c074a8f84f..64b5e592d4c 100644 --- a/src/core/RemotePlugin.cpp +++ b/src/core/RemotePlugin.cpp @@ -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 ); }