Make the watchdog much more aggressive

For individually hosted plugins this will behave the same. For plugin
groups it would have been nice if we could shut down individual plugins,
but dangling threads are apparently a real issue. This should be
equivalent in all use cases.

This also reverts commit bda9a0b75f.
This commit is contained in:
Robbert van der Helm
2021-05-01 19:01:09 +02:00
parent bbc93d7413
commit b103723df2
2 changed files with 13 additions and 10 deletions
+2 -9
View File
@@ -657,13 +657,6 @@ intptr_t VST_CALL_CONV host_callback_proxy(AEffect* effect,
intptr_t value,
void* data,
float option) {
try {
return get_bridge_instance(effect).host_callback(effect, opcode, index,
value, data, option);
} catch (const boost::system::system_error& error) {
std::cerr << "Error while handling callback:" << std::endl;
std::cerr << error.what() << std::endl;
return -1;
}
return get_bridge_instance(effect).host_callback(effect, opcode, index,
value, data, option);
}