changeset 262:853aeab95acf

Flush stdout before resuming output, otherwise buffered output may still appear
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 02 Oct 2018 11:56:46 +0100
parents 5cd830e77abf
children 9a044706ab73
files vamp-server/simple-server.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vamp-server/simple-server.cpp	Thu Aug 09 10:58:09 2018 +0100
+++ b/vamp-server/simple-server.cpp	Tue Oct 02 11:56:46 2018 +0100
@@ -155,6 +155,7 @@
 
 static void resumeOutput()
 {
+    fflush(stdout);
 #ifdef _WIN32
     _dup2(normalFd, 1);
 #else