mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[client] properly shutdown on failure to connect to the spice server
This commit is contained in:
parent
66891aa536
commit
7d6e061ade
@ -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 New Issue
Block a user