From 36a2fb1ba8e8c73788680324f3fff51b799266d6 Mon Sep 17 00:00:00 2001 From: Houston4444 Date: Sat, 4 Dec 2021 14:39:01 +0100 Subject: [PATCH] JACK: re-create backend when re-connecting to the server This updates the client-name when re-connecting to the server, which is apparently useful with NSM. --- libs/backends/jack/jack_api.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/backends/jack/jack_api.cc b/libs/backends/jack/jack_api.cc index 44577b7f2f..2caf64da7e 100644 --- a/libs/backends/jack/jack_api.cc +++ b/libs/backends/jack/jack_api.cc @@ -58,6 +58,7 @@ instantiate (const std::string& arg1, const std::string& arg2) { try { jack_connection.reset (new JackConnection (arg1, arg2)); + backend.reset (); } catch (...) { return -1; }