mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Fix Vst3Bridge stderr logger
This was trying to free `std::cerr`, which of course won't work.
This commit is contained in:
@@ -95,8 +95,8 @@ Logger Logger::create_wine_stderr() {
|
|||||||
// We're logging directly to `std::cerr` instead of to `/dev/stderr` because
|
// We're logging directly to `std::cerr` instead of to `/dev/stderr` because
|
||||||
// we want the STDERR redirection from the group host processes to still
|
// we want the STDERR redirection from the group host processes to still
|
||||||
// function here
|
// function here
|
||||||
return Logger(std::shared_ptr<std::ostream>(&std::cerr), verbosity_level,
|
return Logger(std::shared_ptr<std::ostream>(&std::cerr, [](auto*) {}),
|
||||||
"");
|
verbosity_level, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Logger::log(const std::string& message) {
|
void Logger::log(const std::string& message) {
|
||||||
|
|||||||
Reference in New Issue
Block a user