mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[client] properly shutdown on failure to connect to the spice server
This commit is contained in:
parent
66891aa536
commit
7d6e061ade
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
B1-14-g1d7a2ccf82+1
|
B1-15-g66891aa536+1
|
|
@ -1237,7 +1237,7 @@ int run()
|
||||||
if (!spice_connect(params.spiceHost, params.spicePort, ""))
|
if (!spice_connect(params.spiceHost, params.spicePort, ""))
|
||||||
{
|
{
|
||||||
DEBUG_ERROR("Failed to connect to spice server");
|
DEBUG_ERROR("Failed to connect to spice server");
|
||||||
return 0;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
while(state.running && !spice_ready())
|
while(state.running && !spice_ready())
|
||||||
|
|
Loading…
Reference in a new issue