Change the default return value for effClose

This commit is contained in:
Robbert van der Helm
2020-04-25 17:02:41 +02:00
parent 631e82f2ad
commit 8bb1bdeadb
+2 -1
View File
@@ -291,8 +291,9 @@ intptr_t HostBridge::dispatch(AEffect* /*plugin*/,
// state has already been saved before this and all resources are
// cleaned up properly. Still not sure if this is a good way to
// handle this.
intptr_t return_value = 1;
intptr_t return_value = 0;
try {
// TODO: Add some kind of timeout?
return_value =
send_event(host_vst_dispatch, dispatch_mutex, converter,
std::pair<Logger&, bool>(logger, true), opcode,