mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
[client] audio: call audioDev->free on spice thread exit
This commit is contained in:
parent
141d5d3731
commit
cca6492069
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user