Flushing the decoder seems to hang when the software fallback is in use, so let the destructor abort callbacks instead

This commit is contained in:
Cameron Gutman 2016-06-09 13:25:18 -05:00
parent 6c13c9b67d
commit 69ba5a709b

View File

@ -178,8 +178,7 @@ void MoonlightInstance::DispatchGetPicture(uint32_t unused) {
void MoonlightInstance::VidDecCleanup(void) {
free(s_DecodeBuffer);
// Flush and delete the decoder
g_Instance->m_VideoDecoder->Flush(pp::BlockUntilComplete());
// Delete the decoder
delete g_Instance->m_VideoDecoder;
// Delete shader programs