mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 12:30:12 +02:00
Allow the module to be properly unloaded
Terminating the host process will cause all sockets to be closed so we can join the threads.
This commit is contained in:
@@ -396,6 +396,8 @@ intptr_t Vst2PluginBridge::dispatch(AEffect* /*plugin*/,
|
||||
// been caused by pipes and sockets being closed.
|
||||
io_context.stop();
|
||||
|
||||
// TODO: For consistency with the VST3 version, move the above to
|
||||
// the destructor
|
||||
delete this;
|
||||
|
||||
return return_value;
|
||||
|
||||
Reference in New Issue
Block a user