mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Stop flood of empty lines on plugin crash
This commit is contained in:
@@ -371,7 +371,11 @@ void HostBridge::async_log_pipe_lines(patched_async_pipe& pipe,
|
|||||||
std::getline(std::istream(&buffer), line);
|
std::getline(std::istream(&buffer), line);
|
||||||
logger.log(prefix + line);
|
logger.log(prefix + line);
|
||||||
|
|
||||||
async_log_pipe_lines(pipe, buffer, prefix);
|
// Not sure why, but this async read will keep reading a ton of
|
||||||
|
// empty lines after the Wine process crashes
|
||||||
|
if (vst_host.running()) {
|
||||||
|
async_log_pipe_lines(pipe, buffer, prefix);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user