[client] spice: update submodule to prevent segfault on shutdown

This commit is contained in:
Geoffrey McRae 2022-01-12 07:42:01 +11:00
parent 70683010a6
commit 4411d21135
2 changed files with 12 additions and 7 deletions

View File

@ -851,12 +851,6 @@ int spiceThread(void * arg)
.port = g_params.spicePort, .port = g_params.spicePort,
.password = "", .password = "",
.ready = spiceReady, .ready = spiceReady,
.log =
{
.info = debug_info,
.warn = debug_warn,
.error = debug_error,
},
.clipboard = .clipboard =
{ {
.enable = g_params.useSpiceClipboard, .enable = g_params.useSpiceClipboard,
@ -1065,6 +1059,17 @@ static int lg_run(void)
return -1; return -1;
} }
const PSInit psInit =
{
.log =
{
.info = debug_info,
.warn = debug_warn,
.error = debug_error,
}
};
purespice_init(&psInit);
if (g_params.useSpiceInput || if (g_params.useSpiceInput ||
g_params.useSpiceClipboard || g_params.useSpiceClipboard ||
g_params.useSpiceAudio) g_params.useSpiceAudio)

@ -1 +1 @@
Subproject commit 2ba840c2e9ddee211b752a84ae8f4b4db83c9738 Subproject commit 0cb33f30cafb3f1ca2478b18530992b6ce27b75b