mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Manually close sockets when not killing process
Killing the socket would otherwise cause the sockets to be closed, and both sides to shut down.
This commit is contained in:
@@ -469,6 +469,10 @@ intptr_t PluginBridge::dispatch(AEffect* /*plugin*/,
|
||||
// automatically after all plugins have exited.
|
||||
if (!config.group.has_value()) {
|
||||
vst_host.terminate();
|
||||
} else {
|
||||
// Manually the dispatch socket will cause the host process to
|
||||
// terminate
|
||||
host_vst_dispatch.close();
|
||||
}
|
||||
|
||||
// The `stop()` method will cause the IO context to just drop all of
|
||||
|
||||
Reference in New Issue
Block a user