Merge branch 'master' into feature/vst3

This commit is contained in:
Robbert van der Helm
2020-12-11 13:02:49 +01:00
3 changed files with 17 additions and 6 deletions
+11 -3
View File
@@ -114,9 +114,17 @@ main(int argc, char* argv[]) {
Win32Thread worker_thread([&]() {
bridge->run();
// When the sockets get closed, this application should
// terminate gracefully
main_context.stop();
// // When the sockets get closed, this application should
// // terminate gracefully
// main_context.stop();
// FIXME: So some of the background threads spawned by the plugin may
// get stuck if the host got terminated abruptly. After an entire
// day of debugging I still have no idea whether this is a bug in
// yabridge, Wine, or those plugins, but just killing off this
// process and all of its threads 'fixes' the issue.
//
// https://github.com/robbert-vdh/yabridge/issues/69
TerminateProcess(GetCurrentProcess(), 0);
});
std::cout << "Finished initializing '" << plugin_location << "'"