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.
This commit is contained in:
Houston4444 2021-12-04 14:39:01 +01:00 committed by Robin Gareus
parent 692aa7bbb8
commit 36a2fb1ba8
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}