[client] audio: call audioDev->free on spice thread exit

This commit is contained in:
Geoffrey McRae 2021-12-25 15:02:35 +11:00
parent 141d5d3731
commit cca6492069

View File

@ -778,6 +778,12 @@ int spiceThread(void * arg)
break;
}
if (g_state.audioDev)
{
g_state.audioDev->free();
g_state.audioDev = NULL;
}
g_state.state = APP_STATE_SHUTDOWN;
return 0;
}