Add universal way to shutdown sockets on Wine side

This commit is contained in:
Robbert van der Helm
2021-05-01 16:47:09 +02:00
parent 0f2db64aeb
commit d8ca4022d1
5 changed files with 24 additions and 0 deletions
+4
View File
@@ -1133,6 +1133,10 @@ void Vst3Bridge::handle_x11_events() {
}
}
void Vst3Bridge::close_sockets() {
sockets.close();
}
void Vst3Bridge::register_context_menu(Vst3ContextMenuProxyImpl& context_menu) {
std::lock_guard lock(object_instances[context_menu.owner_instance_id()]
.registered_context_menus_mutex);