[client] update to properly disconnect from spice

This commit is contained in:
Geoffrey McRae 2020-02-01 14:24:23 +11:00
parent f4c2996a3a
commit 95f5962186
2 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
B1-152-g10c4037694+1 B1-153-gf4c2996a3a+1

View File

@ -1532,10 +1532,9 @@ static void lg_shutdown()
spice_key_up(scancode); spice_key_up(scancode);
} }
spice_disconnect();
if (t_spice) if (t_spice)
lgJoinThread(t_spice, NULL); lgJoinThread(t_spice, NULL);
spice_disconnect();
} }
if (state.lgc) if (state.lgc)